- Home /
Best way to find refrences.
So, right now If I want a component I either add it as public and drag it there (say a script or a GameObject) which doesn't work for prefabs. or use getComponent or find objects or one of the many methods (which I don't know which one i should really use)
I thought instead there can be a reference script with the common objects as a static reference? for example the player and all that the ones that are commonly used can be made like that?
Your answer
Follow this Question
Related Questions
Why isn't my animation state changing properly? 1 Answer
transpoter not working! 1 Answer
Using raycast to determine the thickness of a collider 1 Answer
FOV script does not change camera FOV on executable, but it does in the unity playtest. 0 Answers
How do I make the FPSController be compatible with UNET? 0 Answers