I have a camera script that follows the player that I put in the “var target: Transform;”
var target : Transform;
Although I can set the object from the inspector, I do not know how to set the variable dynamically through script. I thought it might work something like -
var target : Player.Transform;
However this does not work… How do I set this variable properly?