private void Update() { if (Input.GetKeyDown(KeyCode.Tab)) { if (Root != null) { Root.SetActive(!Root.activeSelf); } } m_ui.UpdateToggle(() => m_loaded?.EnableBvh(m_src), () => m_loaded?.EnableTPose(m_pose)); if (m_loaded != null) { m_loaded.EnableLipSyncValue = m_enableLipSync.isOn; m_loaded.EnableBlinkValue = m_enableAutoBlink.isOn; m_loaded.Update(); } }
internal static void Update() => Loaded?.Update();