Soap Type Creator
Last updated
Last updated
The Soap Type creator enables you to create automatically new types of Soap Scriptable Objects: Window/Obvious/Soap/Soap Type Creator
For instance, if you wish to create a custom variable of type 'Player', this feature will generate the C# classes for you and save them in the selected folder or a custom folder of your choice.
Files created with the Soap Type Creator will automatically get the proper Soap Icon assigned after the assembly reloads. If you have existing Soap classes that do not have a custom icon, right-click on them in the project window and select Soap-> Set Icon.
If you click on Scriptable Dictionary, a new popup appears with more options. In this popup, you can define the namespace, the name of new class and the type of the Key and Value classes.
If your customs classes do not exist yet in the project, you can toggle "Create Classes" for either the Key, the Value or both. This will generate an empty classes file as well. If the type is an intrinsic type (like int, bool, float, etc.. ) or a Unity type (GameObject, Transform, etc..) then this option won't be available.
You can see a preview of what the class will look like. Once you are happy, choose a destination folder and click on the create button.