Example #1
0
 void OnDrawGizmos()
 {
     if (ShowGizmos)
     {
         if (currentData != null)
         {
             currentData.DrawGizmos();
         }
         if (stateMachine != null)
         {
             stateMachine.DrawGizmos();
         }
     }
 }