You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reverted the change in HiddenScriptEditor.
Moved away from a NetworkAnimator custom editor to a custom property drawer to handle displaying the Animator parameters to be synchronized.
Handling the population of parameters and populating the NetworkAnimator.AnimatorParameterEntries during OnValidate.
Had to re-apply unchecking the excluded parameter in some prefabs for testing purposes.
/// Virtual OnValidate method for custom derived NetworkAnimator classes.
403
487
/// </summary>
404
488
protectedvirtualvoidOnValidate()
405
489
{
406
490
BuildTransitionStateInfoList();
491
+
ProcessParameterEntries();
407
492
}
408
493
#endif
409
494
@@ -557,21 +642,6 @@ public void NetworkSerialize<T>(BufferSerializer<T> serializer) where T : IReade
557
642
}
558
643
}
559
644
560
-
[Tooltip("The animator that this NetworkAnimator component will be synchronizing.")]
561
-
[SerializeField]privateAnimatorm_Animator;
562
-
563
-
/// <summary>
564
-
/// The <see cref="Animator"/> associated with this <see cref="NetworkAnimator"/> instance.
565
-
/// </summary>
566
-
publicAnimatorAnimator
567
-
{
568
-
get{returnm_Animator;}
569
-
set
570
-
{
571
-
m_Animator=value;
572
-
}
573
-
}
574
-
575
645
/// <summary>
576
646
/// Determines whether the <see cref="NetworkAnimator"/> is <see cref="AuthorityModes.Server"/> or <see cref="AuthorityModes.Owner"/> based on the <see cref="AuthorityMode"/> field.
577
647
/// Optionally, you can still derive from <see cref="NetworkAnimator"/> and override the <see cref="OnIsServerAuthoritative"/> method.
0 commit comments