Esempio n. 1
0
    void Start()
    {
        god = GameObject.FindGameObjectWithTag ("God").GetComponent<UnifiedSuperClass> ();

        characters = god.getCurrentCharacters();
        camera = GetComponent<CameraFollow>();
        //		Debug.Log("Characters size " + characters.Count);
        current = characters[0].CharacterGameObject;
        lastSafeLocation = current.transform.position;
    }
Esempio n. 2
0
 void Start()
 {
     god = GameObject.FindGameObjectWithTag("God").GetComponent<UnifiedSuperClass>();
     currentMenu = "Main";
     gameLoaded = false;
     currentCharacters = god.getCurrentCharacters();
     unlockedCharacters = god.getUnlockedCharacters();
 }