NLDClient-yudde/ProjectNLD/Assets/Code/Scripts/Gameplay/PlayerSkill/Logic/PlayerSkillLogic05.cs

21 lines
521 B
C#
Raw Normal View History

2023-12-13 14:11:09 +08:00
using Gameplay.Summon;
using Gameplay.Unit;
2023-12-13 14:11:09 +08:00
namespace Gameplay.PlayerSkill.Logic
{
public class PlayerSkillLogic05 : BasePlayerSkillLogic
{
protected override void _OnInit()
{
base._OnInit();
var genSummonId = owner.ReadParamInt(0);
var createCellIndex = owner.selectedCellIndex;
GameUnitManager.instance.summonManager.CreateSummon(genSummonId, createCellIndex, owner.playerUnit);
2023-12-13 14:11:09 +08:00
isFinished = true;
}
}
}