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