diff --git a/Assets/Editor Toolbox/README.md b/Assets/Editor Toolbox/README.md index 2dbabff7..cb48b208 100644 --- a/Assets/Editor Toolbox/README.md +++ b/Assets/Editor Toolbox/README.md @@ -145,6 +145,11 @@ public Component var2; Supported types: **all**. +```csharp +[Suffix("cm")] +public string var1; +``` + ![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/suffix.png) @@ -179,6 +184,11 @@ public FlagExample enumFlag = FlagExample.Flag1 | FlagExample.Flag2 | FlagExampl Supported types: UnityEngine.**Object**. +```csharp +[NotNull] +public GameObject var1; +``` + ![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/notnull1.png)\ ![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/notnull2.png) @@ -187,6 +197,11 @@ Supported types: UnityEngine.**Object**. Supported types: **string**. +```csharp +[Directory] +public string var1; +``` + ![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/directory1.png)\ ![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/directory2.png) @@ -194,6 +209,11 @@ Supported types: **string**. Supported types: **string**. +```csharp +[SceneName] +public string var1; +``` + ![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/scenename1.png)\ ![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/scenename2.png) @@ -254,6 +274,11 @@ public string password; Supported types: **bool**. +```csharp +[LeftToggle] +public bool var1; +``` + ![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/lefttoggle.png) #### FormattedNumberAttribute diff --git a/Docs/animationcurvesettings.png b/Docs/animationcurvesettings.png new file mode 100644 index 00000000..6c5bf2f5 Binary files /dev/null and b/Docs/animationcurvesettings.png differ diff --git a/README.md b/README.md index 2dbabff7..cb48b208 100644 --- a/README.md +++ b/README.md @@ -145,6 +145,11 @@ public Component var2; Supported types: **all**. +```csharp +[Suffix("cm")] +public string var1; +``` + ![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/suffix.png) @@ -179,6 +184,11 @@ public FlagExample enumFlag = FlagExample.Flag1 | FlagExample.Flag2 | FlagExampl Supported types: UnityEngine.**Object**. +```csharp +[NotNull] +public GameObject var1; +``` + ![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/notnull1.png)\ ![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/notnull2.png) @@ -187,6 +197,11 @@ Supported types: UnityEngine.**Object**. Supported types: **string**. +```csharp +[Directory] +public string var1; +``` + ![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/directory1.png)\ ![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/directory2.png) @@ -194,6 +209,11 @@ Supported types: **string**. Supported types: **string**. +```csharp +[SceneName] +public string var1; +``` + ![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/scenename1.png)\ ![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/scenename2.png) @@ -254,6 +274,11 @@ public string password; Supported types: **bool**. +```csharp +[LeftToggle] +public bool var1; +``` + ![inspector](https://github.com/arimger/Unity-Editor-Toolbox/blob/develop/Docs/lefttoggle.png) #### FormattedNumberAttribute