public static GameModeControllerBase ModeController(this EntityKey owner)
 {
     return(GameModuleManagement.Get <GameModeControllerBase>(owner.EntityId));
 }
예제 #2
0
 public static PlayerWeaponController WeaponController(this PlayerEntity player)
 {
     return(GameModuleManagement.Get <PlayerWeaponController>(player.entityKey.Value.EntityId));
 }
 public static PlayerAudioControllerBase AudioController(this EntityKey owner)
 {
     return(GameModuleManagement.Get <PlayerAudioControllerBase>(owner.EntityId));
 }
 public static PlayerStateInteractController InteractController(this EntityKey owner)
 {
     return(GameModuleManagement.Get <PlayerStateInteractController>(owner.EntityId));
 }
 public static PlayerWeaponController WeaponController(this EntityKey owner)
 {
     return(GameModuleManagement.Get <PlayerWeaponController>(owner.EntityId));
 }
예제 #6
0
 public static PlayerAudioController AudioController(this PlayerEntity playerEntity)
 {
     return(GameModuleManagement.Get <PlayerAudioController>(playerEntity.entityKey.Value.EntityId).Value);
 }
 public static GameModeControllerBase ModeController(this PlayerEntity player)
 {
     return(GameModuleManagement.Get <GameModeControllerBase>(player.entityKey.Value.EntityId));
 }