#thread

1 messages · Page 1 of 1 (latest)

balmy moat
#

it just plays the block of code once

winged hawk
#

I KNOW ITS ON TRIGGERSTAY2D

#

its just an example about the getkey part

#

triggerenter2d,triggerstay2d etc all part of physics update so not so good for input keys

#

@balmy moat if you want me to show you on ur code post it on pastesite.. but should be pretty self explanatory from easy example

balmy moat
winged hawk
balmy moat
#

yeah i debugged it in the console

winged hawk
#

true is not staying every frame

#

i bet u its not

#

debugged console means nothing if ur not looking everyframe that its still true

balmy moat
#

????

#

i Debugged it in the Update function and when i pick up the watering can it's always printing true in the console + when holding down left click

#

I'll just work on this myself for now

winged hawk
#

u didnt change it how i said it so 🤷

balmy moat
#

i did

#

it didn't change anything

winged hawk
balmy moat
winged hawk
balmy moat
winged hawk
#

Debug.Log("mouse is being held");

balmy moat
#

yes

winged hawk
#

try .Emit() instead