static void OnVRViewEnabled() { InitializeInputManager(); s_Instance = ObjectUtils.CreateGameObjectWithComponent <EditingContextManager>(); }
void Awake() { m_ContextNames = EditingContextManager.GetEditingContextNames(); m_Settings = (EditingContextManagerSettings)target; m_SelectedContextIndex = Array.IndexOf(m_ContextNames, m_Settings.defaultContextName); }