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

21 lines
521 B
C#

using Gameplay.Summon;
using Gameplay.Unit;
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);
isFinished = true;
}
}
}