void AddError(string desc, AbstractNodeAsset node) { errors.Add(new CompilerError { description = desc, sourceNode = node }); Debug.LogError(desc); }
internal void MigrateFunctionModel() { #pragma warning disable 618 if (!m_FunctionAsset && m_FunctionModel != null) { m_FunctionAsset = m_FunctionModel.NodeAssetReference; m_FunctionModel = null; EditorUtility.SetDirty(this); } #pragma warning restore 618 }