VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
override void AVR.Avatar.AVR_PoseAssumer.Start ( )
inlineprotectedvirtual

Reimplemented from AVR.Core.AVR_Component.

Definition at line 81 of file AVR_PoseAssumer.cs.

81  {
82  base.Start();
83  animator = GetComponent<Animator>();
84  if(!animator.avatar) {
85  AVR.Core.AVR_DevConsole.warn("AVR_PoseAssumer requires an Animator component WITH an Avatar set. " + animator.name + " has none.");
86  }
87  Invoke("CheckIKPass", 3.0f);
88 
89  animator.logWarnings = false; //TODO: This disables warning-spam if parameters (like "Speed") dont exist. Perhaps this should be optional based on a setting.
90  }