17 lines
334 B
C#
17 lines
334 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Panel_Effect : MonoBehaviour
|
|
{
|
|
public void ActivePanel()
|
|
{
|
|
gameObject.SetActive(true);
|
|
gameObject.transform.SetAsLastSibling();
|
|
}
|
|
public void DeactivePanel()
|
|
{
|
|
gameObject.SetActive(false);
|
|
}
|
|
}
|