Esempio n. 1
0
 /// <summary>
 /// Called on creation. Creates tabletActivate event
 /// </summary>
 protected virtual void Awake()
 {
     tabletActivate = new TabletEvent();
     slider         = transform.GetChild(0).GetChild(0).gameObject;
     cg             = slider.GetComponent <CanvasGroup>();
     aud            = GetComponent <AudioSource>();
 }
Esempio n. 2
0
 protected override void Awake()
 {
     tabletActivate = new TabletEvent();
     aud            = GetComponent <AudioSource>();
 }