Question by
kenhoong17 · Feb 21, 2020 at 06:18 AM ·
editorwindowreflection
Unity TargetParameterCountException: Number of parameters specified does not match the expected number
protected static T InitNodeEditor<T>( string name, NodeEditorSettings
settings, TNodeGraph graph ) where T : ANodeEditor<TNodeGraph>
{
T customEditor = EditorWindow.GetWindow<T>( name );
customEditor.m_settings = settings;
customEditor.m_activeGraph = graph;
customEditor.UpdateWindowSize();
return customEditor;
}
private static void SampleShowEditor()
{
InitNodeEditor<SampleNodeEditorA>
(
"Sample Node Editor A",
Resources.Load<NodeEditorSettings>( "SampleNodeEditorSettings" ),
Resources.Load<SampleNodeGraph>( "SampleNodeGraphA" )
);
}
Error url pastebin https://pastebin.com/riJr8jJ6
Comment
Your answer
Follow this Question
Related Questions
how to make shiny floor 1 Answer
Remove Point Light from Reflective Surface 0 Answers
Converting Cubemaps to Panoramic images? 0 Answers
reflection probe rendering canvas 0 Answers
Vertical Foldout in Editor Window 0 Answers