コード例 #1
0
ファイル: PointerSelector.cs プロジェクト: lane-s/ComposeVR
 private void Awake()
 {
     pointer = GetComponent <VRTK_Pointer>();
     GetComponent <VRTK_Pointer>().PointerStateValid   += OnPointerStateValid;
     GetComponent <VRTK_Pointer>().PointerStateInvalid += OnPointerStateInvalid;
     selectionEventArgs = new ModuleSelectionEventArgs(null);
 }
コード例 #2
0
ファイル: ModuleSelector.cs プロジェクト: lane-s/ComposeVR
 private void OnPointerSelection(object sender, ModuleSelectionEventArgs e)
 {
     OnModuleSelected(e.SelectedModule);
 }