#it s a spelling error because it s
1 messages · Page 1 of 1 (latest)
now it's saying Assets\CoinSpawner.cs(18,24): error CS0019: Operator '*' cannot be applied to operands of type 'Vector2' and 'double'
shouldn't i be able to multiply them
if you make the second number a float you can
it's just a number not a variable do i have to specify it's a float??
the line is var spawnPos = Random.insideUnitCircle.normalized * 4.5; btw
yes and 4.5 is a double not a float. make it a float
how...
remember f is for float
try it and find out
there are some great courses pinned in #💻┃code-beginner
ok
by the way can i use the plain image to drag and drop into the inspector somehow or should i just put it into a gameobject and drag that
if you want to render an image in game you would use either a SpriteRenderer if it is supposed to be in the world or an Image component if it is supposed to be UI
oh wait yeah i'm dumb it is just a gameobject