20 lines
446 B
C#
20 lines
446 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class user : UIController
|
|
{
|
|
[SerializeField] Image user1;
|
|
public string UserPath;
|
|
public override void show(Image mainBody, Image BG, Action ac = null)
|
|
{
|
|
UIManager.ins.LoadImageAsync(UIManager.ins.UserPath, mainBody,false);
|
|
}
|
|
private void OnEnable()
|
|
{
|
|
show(user1,user1);
|
|
}
|
|
}
|