Hello, is it possible use CreateAssetMenu attribute for Monobehaviour ? Thanks for help!
No, MonoBehaviours are components, not assets. What is your use case? Why the Add Component isn’t sufficient?
Let’s say it’s possible, then what [CreateAssetMenu] supposed to do with MonoBehaviours?
The only thing I could think of is…
Maybe make a prefab that has the component attached to the root GameObject?