Esempio n. 1
0
    // Start is called before the first frame update
    void Awake()
    {
        map     = GameObject.Find("Map").GetComponent <IStageMapController>();
        initPos = me.transform.position;


        portalCamera = this.gameObject.transform.GetChild(0).GetChild(0).gameObject;
    }
Esempio n. 2
0
 // Start is called before the first frame update
 void Awake()
 {
     map     = GameObject.Find("Map").GetComponent <IStageMapController>();
     initPos = gameObject.transform.position;
 }