feat(NetworkAnimator): Default Sync Direction = Client To Server

- This is done in Reset so Network Behaviour isn't effected.
- This will not change NA components already in place on objects / prefabs unless user manually chooses Reset in the inspector.
This commit is contained in:
MrGadget 2024-02-07 17:40:11 -05:00
parent 146a49eb09
commit 1d5c8b6f87

View File

@ -93,6 +93,11 @@ void Initialize()
void Awake() => Initialize();
void OnEnable() => Initialize();
public virtual void Reset()
{
syncDirection = SyncDirection.ClientToServer;
}
void FixedUpdate()
{
if (!SendMessagesAllowed)