Beispiel #1
0
        public override void HideDebugVisualization(IEntityManager manager)
        {
            debugVisualObject.Hide(manager);
            coordinateSystemObject.Hide(manager);

            base.HideDebugVisualization(manager);
        }
Beispiel #2
0
 public override void Execute(object parameter)
 {
     if (gameObj == null)
     {
         gameObj = CoordinateSystemLinesGameObject.Build(main.context.GetEntityManager());
         return;
     }
     if (isShowed)
     {
         gameObj.Hide(main.context.GetEntityManager());
     }
     else
     {
         gameObj.Show(main.context.GetEntityManager());
     }
     isShowed = !isShowed;
     main.ForceRender();
 }