void Start() { CharacterAnimScript = GetComponent <GretaCharacterAnimator>(); _commandSender = CharacterAnimScript.commandSender; if (ObjectToFollowWithGaze != null) { _isFollowingWithGaze = true; ObjectToFollowWithGaze.transform.hasChanged = false; } }
void Start() { CharacterAnimScript = GetComponent <GretaCharacterAnimator>(); character = CharacterAnimScript._characterMesh; _commandSender = CharacterAnimScript.commandSender; character.transform.hasChanged = false; characterHead = CharacterAnimScript.getBone("Head").gameObject; characterLeftEye = CharacterAnimScript.getBone("LeftEye").gameObject; characterRightEye = CharacterAnimScript.getBone("RightEye").gameObject; characterMouth = CharacterAnimScript.getBone("TongueF").gameObject; characterLeftHand = CharacterAnimScript.getBone("LeftHand").gameObject; characterRightHand = CharacterAnimScript.getBone("RightHand").gameObject; characterLeftFoot = CharacterAnimScript.getBone("LeftFoot").gameObject; characterRightFoot = CharacterAnimScript.getBone("RightFoot").gameObject; }
void Start() { _charAnimScript = GetComponent <GretaCharacterAnimator>(); }