예제 #1
0
 void ArrowDisplay()
 {
     if (currentMode == FAREditorMode.STATIC)
     {
         _editorGraph.ArrowAnim(velocityArrow);
     }
     else if (currentMode == FAREditorMode.STABILITY || currentMode == FAREditorMode.SIMULATION)
     {
         _stabDeriv.ArrowAnim(velocityArrow);
     }
     else
     {
         velocityArrow.Direction = Vector3.zero;
     }
 }
예제 #2
0
        private void ArrowDisplay()
        {
            switch (currentMode)
            {
            case FAREditorMode.STATIC:
                _editorGraph.ArrowAnim(velocityArrow);
                break;

            case FAREditorMode.STABILITY:
            case FAREditorMode.SIMULATION:
                _stabDeriv.ArrowAnim(velocityArrow);
                break;

            default:
                velocityArrow.Direction = Vector3.zero;
                break;
            }
        }