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