/* * @author Valentin Simonov / http://va.lent.in/ */ using UnityEngine; /// public class ExamplesList : MonoBehaviour { public RectTransform Content; void Start() { gameObject.SetActive(false); } public void ShowHide() { gameObject.SetActive(!gameObject.activeSelf); Content.localPosition = Vector3.zero; } }