public static GameModeControllerBase ModeController(this EntityKey owner) { return(GameModuleManagement.Get <GameModeControllerBase>(owner.EntityId)); }
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)); }
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)); }