VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
override void AVR.UEditor.Phys.AVR_GrabNode_Editor.OnInspectorGUI ( )
inline

Definition at line 16 of file AVR_GrabNodeEditor.cs.

17  {
18  base.OnInspectorGUI();
19 
20  if (!drawDebugHand && GUILayout.Button("Draw DebugHand"))
21  {
22  debugHand = AVR.UEditor.Core.AVR_EditorUtility.InstantiatePrefabAsChild(((AVR_GrabNode)target).transform, "/editor/defaultPrefabPaths/debugHand");
23  }
24  else if(drawDebugHand && GUILayout.Button("Hide DebugHand"))
25  {
26  GameObject.DestroyImmediate(debugHand);
27  }
28  }
Represents a grabbable node on an AVR_Grabbable. Nodes have preset poses/constraints for the hand tha...
Definition: AVR_GrabNode.cs:15