unity常用方法
尝试调用对象里面的Operate方法并忽略警告信息
hitCollider.SendMessage("Operate", SendMessageOptions.DontRequireReceiver);
锁定光标和使光标不再显示
Cursor.lockState = CursorLockMode.None;
Cursor.visible = false;
尝试调用对象里面的Operate方法并忽略警告信息
hitCollider.SendMessage("Operate", SendMessageOptions.DontRequireReceiver);
锁定光标和使光标不再显示
Cursor.lockState = CursorLockMode.None;
Cursor.visible = false;