mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
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:
parent
146a49eb09
commit
1d5c8b6f87
@ -93,6 +93,11 @@ void Initialize()
|
|||||||
void Awake() => Initialize();
|
void Awake() => Initialize();
|
||||||
void OnEnable() => Initialize();
|
void OnEnable() => Initialize();
|
||||||
|
|
||||||
|
public virtual void Reset()
|
||||||
|
{
|
||||||
|
syncDirection = SyncDirection.ClientToServer;
|
||||||
|
}
|
||||||
|
|
||||||
void FixedUpdate()
|
void FixedUpdate()
|
||||||
{
|
{
|
||||||
if (!SendMessagesAllowed)
|
if (!SendMessagesAllowed)
|
||||||
|
Loading…
Reference in New Issue
Block a user