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