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;
    }
Exemple #2
0
 void Start()
 {
     god = GameObject.FindGameObjectWithTag("God").GetComponent<UnifiedSuperClass>();
     currentMenu = "Main";
     gameLoaded = false;
     currentCharacters = god.getCurrentCharacters();
     unlockedCharacters = god.getUnlockedCharacters();
 }