Exemple #1
0
 public static void ConnectedAnchorCap(int controlID, Vector3 position, Quaternion rotation, float size)
 {
     if (controlID == GUIUtility.keyboardControl)
     {
         Joint2DEditor.DrawCap(controlID, position, Joint2DEditor.s_Styles.connectedAnchorActive);
     }
     else
     {
         Joint2DEditor.DrawCap(controlID, position, Joint2DEditor.s_Styles.connectedAnchor);
     }
 }