Пример #1
0
 public static void Vector2dField(string Label, ref Vector2d vector)
 {
     vector = new Vector2d(EditorGUILayout.Vector2Field(Label, vector.ToVector2()));
 }
 public static void Vector2dField(string Label, ref Vector2d vector)
 {
     vector = new Vector2d (EditorGUILayout.Vector2Field (Label, vector.ToVector2 ()));
 }