I have almost no knowledge and I have no skill in scripting/coding.
I was setting up a re-spawn system and to start it off I was making sure it worked by using a debug test. If only the script worked. I have an error which says:
Assets/Scripts/BallHealth.js(7,15): BCE0020: An instance of type ‘UnityEngine.Transform’ is required to access non static member ‘position’.
Please use code tags whenever you post code in the forum:
You are using Transform instead of transform. Transform is the class name, while transform is the actual transform for the game object to which you attached the script.