Add behaviourState + NeutralBehavior
This commit is contained in:
parent
7287be07a9
commit
5bca085548
13 changed files with 123 additions and 11 deletions
|
@ -66,15 +66,6 @@ public class MovementHandler : MonoBehaviour
|
|||
|
||||
return closestMinecraftUnit;
|
||||
}
|
||||
|
||||
void Update()
|
||||
{
|
||||
if (Input.GetKeyDown(KeyCode.Space))
|
||||
{
|
||||
//MoveTowards(defaultMoveTarget.position);
|
||||
MoveTowardsNearest();
|
||||
}
|
||||
}
|
||||
|
||||
public IEnumerator TakeImpulse(Vector3 impulse)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue