void SpawnGoose() { Vector3 pos = Vector3.zero; GlobalGame.RandomNavMeshPos(ref pos); GameObject obj = Instantiate(GooseObject, GeeseFolder, false); cloneTransforms(obj.transform, GooseObject.transform); obj.transform.position = pos; }
private void FindWanderLoc(ref Vector3 wanderLoc) { GlobalGame.RandomNavMeshPos(ref wanderLoc); //ConsoleLogger.debug(this.name, "Found Wander Pos " + wanderLoc); }