Ejemplo 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);
    }
Ejemplo n.º 2
0
 void Awake()
 {
     movement  = Movement.Instance();
     npcPanel2 = NPCPanel2.Instance();
     npcPanel3 = NPCPanel3.Instance();
 }