VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
AVR_PlayerRig_ModuleWizard_Hooks.cs
1 using System.Collections;
2 using System.Collections.Generic;
3 using UnityEngine;
4 
5 namespace AVR.UEditor.Core
6 {
7  public class AVR_PlayerRigWizard_Hook_AvatarModule : AVR_WizardHook_SimpleToggle<AVR_PlayerRig_ModuleWizard, AVR.Avatar.AVR_PoseProvider>
8  {
9  protected override string moduleName => "Avatar Module";
10  protected override string prefabPathSettingsToken => "/editor/defaultPrefabPaths/avatarModule";
11 
12  public override void on_submit(GameObject targetObject) {
13  base.on_submit(targetObject);
14 
15  AVR.Avatar.AVR_PoseProvider prov = targetObject.GetComponent<AVR.Avatar.AVR_PoseProvider>();
16  }
17  }
18 
19  public class AVR_PlayerRigWizard_Hook_SimpleAvatarModule : AVR_WizardHook_SimpleToggle<AVR_PlayerRig_ModuleWizard, AVR.Avatar.AVR_SimpleAvatar>
20  {
21  protected override string moduleName => "SimpleAvatar Module";
22  protected override string prefabPathSettingsToken => "/editor/defaultPrefabPaths/simpleAvatarModule";
23  }
24 }
25 
Estimates the pose of a player from the locations of VR controllers and HMD