예제 #1
0
        public override ActionResult OnExecute()
        {
            GameObject enemy = gopool.GetNextAvailable();

            if (enemy != null)
            {
                enemy.transform.position = getRandomSpawnPoint();
            }

            return(ActionResult.SUCCESS);
        }