Ads by ProfitSence
Close

OnMouseClick unity Code Example

Last Updated on Wednesday 5th Oct 2022

unity onmouseclick

			
					using UnityEngine;
using System.Collections;

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