21 lines
292 B
C#
21 lines
292 B
C#
using UnityEngine;
|
|
|
|
/// <exclude />
|
|
public class ExamplesList : MonoBehaviour
|
|
{
|
|
|
|
public RectTransform Content;
|
|
|
|
void Start ()
|
|
{
|
|
gameObject.SetActive(false);
|
|
}
|
|
|
|
public void ShowHide()
|
|
{
|
|
gameObject.SetActive(!gameObject.activeSelf);
|
|
Content.localPosition = Vector3.zero;
|
|
}
|
|
|
|
}
|