Exemplo n.º 1
0
    private void Start()
    {
        canMove   = true;
        canChange = true;

        soundScript    = GameObject.FindGameObjectWithTag("SoundManager").GetComponent <SoundManager>();
        universeScript = GameObject.Find("UniversalManager").GetComponent <UniversalVarHolder>();
        targetPosition = transform.position;
    }
Exemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     universeScript = GameObject.Find("UniversalManager").GetComponent <UniversalVarHolder>();
 }