|
I want to create my own classes and instantiate like normal OOP code. I tried using 93[ScriptableObject.CreateInstance() ][1]93 but this gave: how should i do that from javascript? my class looks something like the below. its just to draw lines on screen, but i need a lot of instances of these paths with their own points.
(comments are locked)
|
|
You need to use OOP and extend ScriptableObject. thanks for the tip. in the end i think i need to do it with attaching a script to an object in the Unity GUI because of this line: ie ScriptableObject doesnt have access to a gameObject? just to confirm: something starting with lowercase is an instance in Unity, correct?
Sep 08 '11 at 12:23 AM
yatayata
(comments are locked)
|
