Inheritance: uFrame.ECS.EcsComponent
 protected override void SetRandomPosition(SpawnWithRandomX data, SpawnWithRandomX group)
 {
     var handler = new SetRandomPosition();
     handler.System = this;
     handler.Event = data;
     handler.Group = group;
     handler.Execute();
 }
        protected override void SetRandomPosition(SpawnWithRandomX data, SpawnWithRandomX group)
        {
            var handler = new SetRandomPosition();

            handler.System = this;
            handler.Event  = data;
            handler.Group  = group;
            handler.Execute();
        }
Exemple #3
0
        protected void SetRandomPositionFilter(SpawnWithRandomX data)
        {
            var GroupSpawnWithRandomX = SpawnWithRandomXManager[data.EntityId];

            if (GroupSpawnWithRandomX == null)
            {
                return;
            }
            if (!GroupSpawnWithRandomX.Enabled)
            {
                return;
            }
            this.SetRandomPosition(data, GroupSpawnWithRandomX);
        }
 protected void SetRandomPositionFilter(SpawnWithRandomX data)
 {
     var GroupSpawnWithRandomX = SpawnWithRandomXManager[data.EntityId];
     if (GroupSpawnWithRandomX == null) {
         return;
     }
     if (!GroupSpawnWithRandomX.Enabled) {
         return;
     }
     this.SetRandomPosition(data, GroupSpawnWithRandomX);
 }