Using Component Decorators
Last updated
Last updated
Just like with MonoBehaviour
in Unity, with our AirshipBehaviour
we can customize a few things
In regular Unity, there is the attribute, in Airship it's the AirshipComponentMenu
decorator.
This is useful for organization purposes.
This is done through the AirshipComponentIcon
decorator. The path should point to a texture in your project.
By default an AirshipComponent
has the AirshipScript
icon - however this can be changed as like with MonoBehaviour
scripts
Scripts
menu, now it's in Transform
:)