maybe before cycling import
failsafe
This commit is contained in:
parent
299091b632
commit
e94e2b8dce
3 changed files with 18 additions and 3 deletions
12
Assets/Scripts/UnitScripts/Capacities/WitchSummon.cs
Normal file
12
Assets/Scripts/UnitScripts/Capacities/WitchSummon.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
using UnityEngine;
|
||||
|
||||
public class WitchSummon : BaseCapacity
|
||||
{
|
||||
[SerializeField] private GameObject summonUnit;
|
||||
|
||||
protected override bool CapacityCall()
|
||||
{
|
||||
Instantiate(summonUnit, transform.position, Quaternion.identity);
|
||||
return true;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue