nodecanvas has error where use mouse condition

NodeCanvas Forums Support nodecanvas has error where use mouse condition

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13640
    avi9111
    Participant

    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

    #13663
    Gavalakis
    Keymaster

    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.

    Let me know if that works for you.
    Thank you.

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.