C
C#2y ago
Zenternion

Add MonoBehaviour to object through script UNITY

Is there a way to add a monobehaviour to an object through a different script.
5 Replies
hoggy077
hoggy0772y ago
I can think of zero reasons to do this. what are doing that you need this?
Zenternion
Zenternion2y ago
Can you Because I can think of reasons
hoggy077
hoggy0772y ago
you should be able to Inherit from a class that inherits from Monobehaviour I dont know if thats what you're looking for
i love cat(mull-rom splines)
AddComponent<T>
Zenternion
Zenternion2y ago
Too simple for me to think of Thanks