示例#1
0
 void ModAPI.Interfaces.IMyControllableEntity.DrawHud(Sandbox.ModAPI.Interfaces.IMyCameraController entity, long player)
 {
     if (entity is IMyCameraController)
     {
         DrawHud(entity as IMyCameraController, player);
     }
 }
        public void DrawHud(Sandbox.ModAPI.Interfaces.IMyCameraController camera, long playerId)
        {
            MyHud.Crosshair.Recenter();

            DrawHud();
            UpdateHudComponentMark();
        }
示例#3
0
        public void DrawHud(Sandbox.ModAPI.Interfaces.IMyCameraController camera, long playerId)
        {
            MyHud.Crosshair.Position = MyHudCrosshair.ScreenCenter;

            DrawHud();
            UpdateHudComponentMark();
        }