Hi, can anyone advise me why I can’t do this:
inputThreshold = Vector3(0.0f,0.0f,0.0f);
…as it complains that “UnityEngine.Vector3 is a ‘type’ but is used like a variable”. But strangely I can do this:
inputThreshold = Vector3.zero;
…firstly dont understand why the first code snippet wouldnt work, but also then dont understand why the second would - I thought the second was shorthand for the first!?
Thanks!