public void DrawGizmos(VisualEffect component) { if (m_Context == null) { m_Context = new ParameterGizmoContext(this); } VFXGizmoUtility.Draw(m_Context, component); }
public void DrawGizmo(VisualEffect component) { if (VFXGizmoUtility.HasGizmo(portType)) { CreateGizmoContextIfNeeded(); VFXGizmoUtility.Draw(m_GizmoContext, component); } }
public void DrawGizmo(VisualEffect component) { if (VFXGizmoUtility.HasGizmo(portType)) { if (m_GizmoContext == null) { m_GizmoContext = new VFXDataAnchorGizmoContext(this); } VFXGizmoUtility.Draw(m_GizmoContext, component); } }