Add MonoBehaviour to object through script UNITY
Is there a way to add a monobehaviour to an object through a different script.
5 Replies
I can think of zero reasons to do this. what are doing that you need this?
Can you
Because I can think of reasons
you should be able to Inherit from a class that inherits from Monobehaviour I dont know if thats what you're looking for
AddComponent<T>
Too simple for me to think of
Thanks