Пример #1
0
 // Use this for initialization
 void Awake()
 {
     m_dialougeSystem        = GetComponent <DialougeSystem>();
     DialougeSystem.OnStart += EnableUI;
     DialougeSystem.OnEnd   += UnableUI;
 }
Пример #2
0
 private void Awake()
 {
     dialougeSystemRef = FindObjectOfType <DialougeSystem>();
 }