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

Definition at line 14 of file AVR_Grabbable_Editor.cs.

15  {
16  base.OnInspectorGUI();
17 
18  if(GUILayout.Button("Add GrabNode")) {
19  Transform t = AVR.Core.Utils.Misc.CreateEmptyGameObject("GrabNode", ((MonoBehaviour)target).transform);
20  t.gameObject.AddComponent<AVR_GrabNode>();
21  }
22  }
Represents a grabbable node on an AVR_Grabbable. Nodes have preset poses/constraints for the hand tha...
Definition: AVR_GrabNode.cs:15