28 lines
523 B
C#
28 lines
523 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class ResourceUIClass
|
|
{
|
|
private RawImage rawImageGet;
|
|
private string titleText;
|
|
private string contentText;
|
|
public ResourceUIClass(){}
|
|
public ResourceUIClass(RawImage rawImageGet, string titleText, string contentText)
|
|
{
|
|
this.rawImageGet = rawImageGet;
|
|
this.titleText = titleText;
|
|
this.contentText = contentText;
|
|
}
|
|
}
|
|
|
|
public enum UIType
|
|
{
|
|
Big,
|
|
Small
|
|
}
|
|
|
|
|
|
|