Forge/Editor/DataReferenceEditor.cs
/// <summary>
/// Verifies that the given selected entity contains a data instance of the given type. If
/// the given entity does not contain it, then a warning is issued.
/// </summary>
Verifies that the given selected entity contains a data instance of the given type. If
the given entity does not contain it, then a warning is issued.
Verifies that the given selected entity contains a data instance of the given type . If the given entity does not contain it then a warning is issued .
private void Verify(Type type, IQueryableEntity selected) {
            if (selected.ContainsData(new DataAccessor(type)) == false) {
                Debug.LogWarning("Data provider " + selected + " has a reference that requires " +
                    "an instance of " + type + ", but it lacks said reference");
            }
        }
private void Verify ( Type type , IQueryableEntity selected ) { if ( selected . ContainsData ( new DataAccessor ( type ) ) == false ) { Debug . LogWarning ( " " + selected + " " + " " + type + " " ) ; } }
Verifies that the given selected entity contains a data instance of the given type.
Verifies that the given selected entity contains a data instance of the given type .
type
Type
selected
IQueryableEntity