public void OnEnterBattleStart()
    {
        if (BattleObject == null)
        {
            return;
        }
        stateMachine.SetProperty(props.TrainerFight, BattleObject.trainerFight);


        BattleObject.SetSpirit(0, BattleObject.GetTeam(0).Spirits[0]);
        BattleObject.SetSpirit(1, BattleObject.GetTeam(1).Spirits[0]);

        stateMachine.SetProperty(props.PlayerSpirits, BattleObject.GetTeam(0).Spirits.Count);
        stateMachine.SetProperty(props.EnemySpirits, BattleObject.GetTeam(1).Spirits.Count);
        stateMachine.SetProperty(props.StateFinished, true);
    }