VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
AVR.Avatar.AVR_SimpleAvatar Class Reference

Avatar component that doesn't require controllers. More...

Inheritance diagram for AVR.Avatar.AVR_SimpleAvatar:
AVR.Core.AVR_Component AVR.Core.AVR_Behaviour

Public Attributes

string speedAnimationParameter = "Speed"
 Animation parameter that corresponds to the speed the player is moving at. More...
 
- Public Attributes inherited from AVR.Core.AVR_Component
UnityEngine.Events.UnityEvent onAwake
 Events called when this component awakes. More...
 
UnityEngine.Events.UnityEvent onStart
 Events called when this component starts. More...
 
UnityEngine.Events.UnityEvent onEnable
 Events called when this component is enabled. More...
 
UnityEngine.Events.UnityEvent onDisable
 Events called when this component is disabled. More...
 

Protected Member Functions

override void Start ()
 
- Protected Member Functions inherited from AVR.Core.AVR_Component
virtual void Awake ()
 
virtual void OnEnable ()
 
virtual void OnDisable ()
 

Private Member Functions

void Update ()
 

Private Attributes

Animator animator
 
Vector3 lastPos = Vector3.zero
 

Additional Inherited Members

- Public Member Functions inherited from AVR.Core.AVR_Behaviour
virtual void OnDestroy ()
 
- Protected Attributes inherited from AVR.Core.AVR_Behaviour
AVR_PlayerRig playerRig => AVR_PlayerRig.Instance
 The current AVR_PlayerRig instance in the scene More...
 
AVR_Root root => AVR_Root.Instance
 The current AVR_Root instance in the scene More...
 
bool vrEnabled => UnityEngine.XR.XRSettings.enabled
 True if the application is running as a VR/XR application More...
 

Detailed Description

Avatar component that doesn't require controllers.

Definition at line 15 of file AVR_SimpleAvatar.cs.