I could not use mouse click as condition task, is here anyone know where i could find out this issue or and error fix skill?
‘Check Mouse Click’ Task Error</b>: ‘Failed to resolve Agent to requested type ‘UnityEngine.Collider’, or new Agent is NULL. Does the Agent has the requested Component?’ (Task Disabled)
I did use keyboard input instead, but any suggestion is helpful, thanks
Hello and sorry for the late reply, but I’ve missed your post 🙁
The “Check Mouse Click”, check if the agent, is clicked and as such, it requires that the agent has a Collider component attached.
If you want to check if a mouse click has happened irelavant of an object, please use the “Check Button Input” condition, and leave the “Button Name” parameter to “Fire1” which is the default.