Thank you for your code. But I'm wondering, since these are all not derived from Monobehaviour, they cannot be attached to a gameobject. So how come can I make it work after typing all of the code above?
Thank you very much!
↧