Esempio n. 1
0
    void Awake()
    {
        modalPanel = ModalPanel.Instance();
        // modalPanel = FindObjectOfType(typeof(ModalPanel)) as ModalPanel;

        movement = Movement.Instance();
        // movement = FindObjectOfType(typeof(Movement)) as Movement;
        npcPanel3 = NPCPanel3.Instance();
        //  npcPanel2 = NPCPanel2.Instance();

        myYesAction    = new UnityAction(TestYesFunction);
        myNoAction     = new UnityAction(TestNoFunction);
        myCancelAction = new UnityAction(TestCancelFunction);
    }
Esempio n. 2
0
 void Awake()
 {
     movement  = Movement.Instance();
     npcPanel2 = NPCPanel2.Instance();
     npcPanel3 = NPCPanel3.Instance();
 }