Exemplo n.º 1
0
        public static SF_ErrorEntry Create(string error, bool isWarning)
        {
            SF_ErrorEntry entry = ScriptableObject.CreateInstance <SF_ErrorEntry>();

            entry.isWarning = isWarning;
            entry.error     = error;
            entry.InitializeRows();
            return(entry);
        }
Exemplo n.º 2
0
        public static SF_ErrorEntry Create(string error, SF_NodeConnector target, bool isWarning)
        {
            SF_ErrorEntry entry = ScriptableObject.CreateInstance <SF_ErrorEntry>();

            entry.isWarning = isWarning;
            entry.con       = target;
            entry.node      = target.node;
            entry.error     = error;
            entry.InitializeRows();
            return(entry);
        }