public override string GenerateShaderForOutput(int outputId, ref MasterNodeDataCollector dataCollector, bool ignoreLocalvar) { if (m_currentSelected != null) { return(m_currentSelected.GenerateShaderForOutput(outputId, ref dataCollector, ignoreLocalvar)); } else { Debug.LogError("Attempting to access inexistant local variable"); return("0"); } }
public override string GenerateShaderForOutput(int outputId, ref MasterNodeDataCollector dataCollector, bool ignoreLocalvar) { if (m_currentSelected != null) { return(m_currentSelected.GenerateShaderForOutput(outputId, ref dataCollector, ignoreLocalvar)); } else { UIUtils.ShowMessage("Get Local Var node without reference. Attempting to access inexistant local variable.", MessageSeverity.Error); return("0"); } }