Beispiel #1
0
        void OnAttach()
        {
            if (m_VFXView.attachedComponent != null)
            {
                m_VFXView.Detach();
            }
            else
            {
                m_VFXView.AttachToSelection();
            }

            UpdateAttachedLabel();
        }