public override ActionResult OnExecute() { GameObject enemy = gopool.GetNextAvailable(); if (enemy != null) { enemy.transform.position = getRandomSpawnPoint(); } return(ActionResult.SUCCESS); }
public override ActionResult OnExecute() { GameObject enemy = gopool.GetNextAvailable(); if (enemy != null) { enemy.transform.position = getRandomSpawnPoint(); } return(ActionResult.SUCCESS); }