Пример #1
0
        private void OnLockAxesChanged()
        {
            if (LockObject != null)
            {
                LockObject.SetGlobalLock(Editor.Tools.LockAxes);
            }

            if (Model != null)
            {
                if (!Model.gameObject.IsPrefab())
                {
                    Model.SetLock(LockObject);
                }
            }
        }
Пример #2
0
        protected virtual void OnLockAxesChanged()
        {
            if (LockObject != null)
            {
                LockObject.SetGlobalLock(Editor.Tools.LockAxes);
            }

            if (Model != null)
            {
                if (!Model.gameObject.IsPrefab())
                {
                    Model.SetLock(LockObject);
                }
            }
            else
            {
                TryRefreshCommandBuffer();
            }
        }
Пример #3
0
        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();
                }
            }
        }