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