sync fixes
This commit is contained in:
@@ -146,6 +146,7 @@ namespace BoneSync.Sync.Components
|
||||
public bool CheckIfShouldAutoSync()
|
||||
{
|
||||
if (InPoolManagerTransform()) return false;
|
||||
if (!gameObject.activeInHierarchy) return false;
|
||||
if (poolee && poolee.pool) {
|
||||
return true;
|
||||
}
|
||||
@@ -208,7 +209,6 @@ namespace BoneSync.Sync.Components
|
||||
|
||||
if (spawnFragment) return false; // if has spawn fragment, don't sync
|
||||
FindAndUpdateComponents();
|
||||
if (InPoolManagerTransform()) return false;
|
||||
if (rigidbodies.Length > 0) return true;
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user