Update accessibility

This commit is contained in:
Pascal Serrarens 2023-06-02 12:51:13 +02:00
parent 14ac81f2f2
commit efefc4b9fd

View File

@ -1404,15 +1404,15 @@ namespace Passer.Humanoid {
} }
[HideInInspector] [HideInInspector]
private Vector3 lastHumanoidPos; protected Vector3 lastHumanoidPos;
[HideInInspector] [HideInInspector]
private float lastNeckHeight; protected float lastNeckHeight;
[HideInInspector] [HideInInspector]
private Vector3 lastHeadPosition; protected Vector3 lastHeadPosition;
[HideInInspector] [HideInInspector]
private Quaternion lastHeadRotation; protected Quaternion lastHeadRotation;
[HideInInspector] [HideInInspector]
private float lastHeadDirection; protected float lastHeadDirection;
public event OnNewNeckHeight OnNewNeckHeightEvent; public event OnNewNeckHeight OnNewNeckHeightEvent;
public delegate void OnNewNeckHeight(float neckHeight); public delegate void OnNewNeckHeight(float neckHeight);
@ -2308,7 +2308,7 @@ namespace Passer.Humanoid {
#endregion #endregion
[HideInInspector] [HideInInspector]
private float lastTime; protected float lastTime;
protected virtual void CalculateVelocityAcceleration() { protected virtual void CalculateVelocityAcceleration() {
if (lastTime > 0) { if (lastTime > 0) {