- Home /
Question by
iinot · Sep 17, 2020 at 06:44 AM ·
variablesgeneral programming
When to use the inspector vs finding an object reference via script?
I find it very convenient to just make a variable public in a script and drag it into the inspector. I tend to do it a lot and not sure is it quite excessive.
What is the general rule on when I should reference variables using the inspector via drag and drop and when I should use the script to reference it programmatically?
Comment