Answers for "right click menu unity"

C#
2

unity right click on gameobject

private void OnMouseOver()
    {
        if(Input.GetMouseButtonDown(1))
        {
            Debug.Log("The gameObject has been right clicked");
        }
    }
Posted by: Guest on May-17-2021

Code answers related to "right click menu unity"

C# Answers by Framework

Browse Popular Code Answers by Language