DrawCap() private static method

private static DrawCap ( int controlID, Vector3 position, GUIStyle guiStyle ) : void
controlID int
position Vector3
guiStyle UnityEngine.GUIStyle
return void
Ejemplo n.º 1
0
 public static void ConnectedAnchorCap(int controlID, Vector3 position, Quaternion rotation, float size)
 {
     if (controlID == GUIUtility.keyboardControl)
     {
         Joint2DEditorBase.DrawCap(controlID, position, Joint2DEditorBase.s_Styles.connectedAnchorActive);
     }
     else
     {
         Joint2DEditorBase.DrawCap(controlID, position, Joint2DEditorBase.s_Styles.connectedAnchor);
     }
 }