VR适配
This commit is contained in:
parent
3359efe49d
commit
4b193331d4
@ -82,8 +82,10 @@ namespace QFramework
|
||||
{
|
||||
if (!Deinited)
|
||||
{
|
||||
#if VR
|
||||
UIRoot.Instance.transform.Find("ZMouse").GetComponent<ZPointer>().OnClick.RemoveListener(OnClick);
|
||||
UIRoot.Instance.transform.Find("ZStylus").GetComponent<ZPointer>().OnClick.RemoveListener(OnClick);
|
||||
#endif
|
||||
Deinited = true;
|
||||
mCondition = null;
|
||||
obj = null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user