Hello, I am following an old tutorial from 2017, and something is not working. I think I am typing eveything correctly… This is the wrong code:
GameObject arrow1 = Instantiate(arrows[0], new Vector3(transform.position.x, height, 0));
I am using VS and I have tried the suggested solution of using UnityEngine.Vector3 which has solved this exact issue in the past, but in this case it’s just creating a different issue (Can’t convert UnityEngine.Vector3 into UnityEngine.Transform)
Can anyone give me a hand with this?
Thanks in advance!