private void Start() { if (friendshipControl == null) { friendshipControl = GetComponent <FriendshipControl>(); } if (mCompendium == null) { mCompendium = FindObjectOfType <MoveCompendium>(); } state = BattleState.START; StartCoroutine(BattleSetup()); }
private void Awake() { stats = GetComponent <CharacterStats>(); compendium = FindObjectOfType <MoveCompendium>(); }