22 lines
382 B
C#
22 lines
382 B
C#
/*
|
|
* @author Valentin Simonov / http://va.lent.in/
|
|
*/
|
|
|
|
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;
|
|
}
|
|
} |