OnMouseClick unity Code Example

Last Updated On Monday 30th May 2022

unity onmouseclick

	using UnityEngine;
using System.Collections;

public class ClickUnpause : MonoBehaviour {
    void OnMouseClick()
    {
        MgrPause mgrPause = GetComponent<MgrPause>();
        mgrPause.Resume();
    }
}