#Thought Id move to a thread bc its getting messy

1 messages ยท Page 1 of 1 (latest)

strong aurora
bleak thunder
#

Yeah, might be better

strong aurora
#

It doesn't show up

bleak thunder
#

Ohhhh.... wait

#

your MoveController is a SO...

strong aurora
#

Oh, is that the problem?

bleak thunder
#

The variables of your SO are in the FILE that you create from that SO. A scriptableobject is actually a file that holds values.

strong aurora
#

Oh, so the values don't exist until it is instantiated, so they dont show up in inspector?

bleak thunder
#

You cannot really create a SO like a normal class. As said, a SO is stored in a file, when you select that, you get the variables in the inspector. Not sure if you can reflect the selected SOs variables into your gameobject inspector, i guess with some custom editor script.

strong aurora
#

So, what would be the best practice here? Would removing the SO tag fix it? Or would I have to make separate scripts for each class?

bleak thunder
#

Well it depends on what you need. Do you need ScriptableObjects? Or are you going to use only one movectronoler anyway

strong aurora
#

I'm only going to use the main moveController anyway, the rest just feeds in to it

#

I only ever made them SOs because it thew an error ages ago about it, let me see if that persists

bleak thunder
#

just remove it and let it fix correctly ๐Ÿ˜„

strong aurora
#

Now I'm back to nothing ๐Ÿ˜ข

#

(I'll brb!)

bleak thunder
#

Can you paste your full code on pastebin pls?

strong aurora
#

Yeah sure (Sorry about that)