Skip to content

Commit

Permalink
Update InworldBodyAnimation.cs
Browse files Browse the repository at this point in the history
Improved inheritability.
  • Loading branch information
mattkwilson authored Feb 27, 2024
1 parent 6e8037a commit 982bd4e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Assets/Inworld/Inworld.Assets/Scripts/InworldBodyAnimation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ namespace Inworld.Assets
{
public class InworldBodyAnimation : InworldAnimation
{
[SerializeField] Animator m_BodyAnimator;
[SerializeField] protected Animator m_BodyAnimator;

Transform m_HeadTransform;
Vector3 m_vecInitPosition;
Vector3 m_vecInitEuler;
float m_LookAtWeight;

static readonly int s_Emotion = Animator.StringToHash("Emotion");
static readonly int s_Gesture = Animator.StringToHash("Gesture");
static readonly int s_Motion = Animator.StringToHash("MainStatus");
static readonly int s_RemainSec = Animator.StringToHash("RemainSec");
static readonly int s_Random = Animator.StringToHash("Random");
protected static readonly int s_Emotion = Animator.StringToHash("Emotion");
protected static readonly int s_Gesture = Animator.StringToHash("Gesture");
protected static readonly int s_Motion = Animator.StringToHash("MainStatus");
protected static readonly int s_RemainSec = Animator.StringToHash("RemainSec");
protected static readonly int s_Random = Animator.StringToHash("Random");

protected override void Awake()
{
Expand Down

0 comments on commit 982bd4e

Please sign in to comment.