Can any help me I always getting error at x position and y position at instiate. Can any1 show me some instiate script that spawn the object at fix location. For example at x=600, y=450 I’m working at 2d object thanks
You still need to include the z-coordinate so use z=0. If everything is always spawning there a quick way is to place an empty game object at those coordinates & reference that as the transform location for instantiating.
so I must change it to vector3, because I use it like this and I still got error
Instantiate (stamp, Vector2 (105, 689, 0), Quaternion.identity)
yes, you can’t use 3 floats for a vector 2
for more info
it’s allready work now, thanks anyways, a little mistake hahahaha