Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity get mouse position

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour
{
    void Update()
    {
        Vector3 mousePos = Input.mousePosition;            
    }
}
Source by vionixstudio.com #
 
PREVIOUS NEXT
Tagged: #unity #mouse #position
ADD COMMENT
Topic
Name
7+7 =