unity get mouse position

125

unity get mouse position -

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour
{
    void Update()
    {
        Vector3 mousePos = Input.mousePosition;            
    }
}

Comments

Submit
0 Comments