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