next level logic
This commit is contained in:
parent
ee2a5fdf08
commit
37bed1fd33
16 changed files with 130 additions and 38 deletions
|
@ -13,12 +13,12 @@ public abstract class AbstractBehaviour : MonoBehaviour
|
|||
protected abstract void MoveAction();
|
||||
protected abstract void AttackAction();
|
||||
|
||||
protected MinecraftUnit Unit;
|
||||
protected MinecraftUnit CurrentMinecraftUnit;
|
||||
|
||||
|
||||
void Start()
|
||||
{
|
||||
Unit = GetComponent<MinecraftUnit>();
|
||||
CurrentMinecraftUnit = GetComponent<MinecraftUnit>();
|
||||
StartCoroutine(attackUpdate());
|
||||
StartCoroutine(pathUpdate());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue