else
return;
Add(new IMGUIContainer(onGUIHandler) { executionContext = presenter.GetInstanceID() });
Add(new IMGUIContainer(onGUIHandler));
}
void Vector4OnGUIHandler()
{
m_ControlsContainer.Add(new IMGUIContainer(controlData.OnGUIHandler)
name = "element",
executionContext = controlData.GetInstanceID(),
name = "element"
});
m_CurrentControls.Add(controlData);
var graphAsset = ScriptableObject.CreateInstance<MaterialSubGraphAsset>();
graphAsset.subGraph = graph;
ctx.SetMainAsset("MainAsset", graphAsset);
ctx.AddObjectToAsset("MainAsset", graphAsset);
ctx.SetMainObject(graphAsset);