void OnAttach() { if (m_VFXView.attachedComponent != null) { m_VFXView.Detach(); } else { m_VFXView.AttachToSelection(); } UpdateAttachedLabel(); }
void OnAttach() { if (m_VFXView.attachedComponent != null) { m_VFXView.Detach(); } else { m_VFXView.AttachToSelection(); } UpdateAttachedLabel(); }