Skip to content

Commit

Permalink
refactor(Menu): some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Iam1337 committed Jan 4, 2022
1 parent 5d64ef0 commit daf267b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/extDebug/Scripts/Menu/DM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,11 @@ public static DMColor Add(string path, Func<Color> getter, Action<Color> setter

// Vector 2 Int
public static DMVector2Int Add(string path, Func<Vector2Int> getter, Action<Vector2Int> setter = null, int order = 0) =>
Root.Add(path, getter, setter, order);
Container.Add(path, getter, setter, order);

// Vector 3 Int
public static DMVector3Int Add(string path, Func<Vector3Int> getter, Action<Vector3Int> setter = null, int order = 0) =>
Root.Add(path, getter, setter, order);
Container.Add(path, getter, setter, order);

// Dynamic
public static DMBranch Add<T>(string path, Func<IEnumerable<T>> getter, Action<DMBranch, T> buildCallback = null, Func<T, string> nameCallback = null, string description = "", int order = 0) =>
Expand Down

0 comments on commit daf267b

Please sign in to comment.