/// <summary> /// Set object to send position and rotation sync constantly. /// </summary> /// <param name="newValue">If object should be constantly synced.</param> public void SendConstantSync(bool newValue) { sendConstantSync = newValue; if (syncedObject != null) { syncedObject.ConstantSyncChanged(newValue); } }
/// <summary> /// Set object to send position and rotation sync constantly. /// </summary> /// <param name="newValue">If object should be constantly synced.</param> public void SendConstantSync(bool newValue) { sendConstantSync = newValue; syncedObject?.ConstantSyncChanged(newValue); }