Пример #1
0
    private void Start()
    {
        if (friendshipControl == null)
        {
            friendshipControl = GetComponent <FriendshipControl>();
        }
        if (mCompendium == null)
        {
            mCompendium = FindObjectOfType <MoveCompendium>();
        }
        state = BattleState.START;

        StartCoroutine(BattleSetup());
    }
Пример #2
0
 private void Awake()
 {
     stats      = GetComponent <CharacterStats>();
     compendium = FindObjectOfType <MoveCompendium>();
 }