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

20 lines
484 B
C#

using Gameplay.Summon;
namespace Gameplay.PlayerSkill.Logic
{
public class PlayerSkillLogic05 : BasePlayerSkillLogic
{
protected override void _OnInit()
{
base._OnInit();
var genSummonId = owner.ReadParamInt(0);
var createCellIndex = owner.selectedCellIndex;
SummonManager.instance.CreateSummon(genSummonId, createCellIndex, owner.playerUnit);
isFinished = true;
}
}
}