private void OnLockAxesChanged() { if (LockObject != null) { LockObject.SetGlobalLock(Editor.Tools.LockAxes); } if (Model != null) { if (!Model.gameObject.IsPrefab()) { Model.SetLock(LockObject); } } }
protected virtual void OnLockAxesChanged() { if (LockObject != null) { LockObject.SetGlobalLock(Editor.Tools.LockAxes); } if (Model != null) { if (!Model.gameObject.IsPrefab()) { Model.SetLock(LockObject); } } else { TryRefreshCommandBuffer(); } }
private void OnLockAxesChanged() { if (LockObject != null) { LockObject.SetGlobalLock(Editor.Tools.LockAxes); } if (Model != null) { if (!Model.gameObject.IsPrefab()) { Model.SetLock(LockObject); } } else { if (m_rteCamera != null) { m_rteCamera.RefreshCommandBuffer(); } } }