Esempio n. 1
0
        protected Actor Spawn(ActorSpawnParameter parameter, Vector3 position, Quaternion rotation)
        {
            var actor = parameter.Spawn(position, rotation, Layers.Id.Enemy);

            Broker.Global.Publish(SpawnedEnemyActor.Get(actor, this.gameObject));

            return(actor);
        }
Esempio n. 2
0
 protected Actor Spawn(ActorSpawnParameter parameter, Transform transform)
 {
     return(this.Spawn(parameter, transform.position, transform.rotation));
 }