void Start() { #if !UNITY_EDITOR WindowApi.Frontize(); WindowApi.HideTitleBar(); WindowApi.EnableWindowDrag(); #endif if (KeyApi.IsKeyEventObservable()) { Debug.Log("accessibility OK"); } }
private void Start() { #if !UNITY_EDITOR //強制的に再生時のKeyNoteよりも前に持ってきます。 WindowApi.Frontize(); WindowApi.HideTitleBar(); WindowApi.EnableWindowDrag(); #endif vrmLoadController.VrmLoaded += OnVRMLoaded; StartCoroutine(LoadAvatar()); }
private void OnDisable() { WindowApi.EnableWindowDrag(); }