Forge/Editor/DataInspector.cs
/// <summary>
/// Returns a DataInspector that will allow the user to edit the given data type.
/// </summary>
/// <param name="dataType">The type of data that is being edited.</param>
Returns a DataInspector that will allow the user to edit the given data type.
Returns a DataInspector that will allow the user to edit the given data type .
public static IDataInspector Get(Type dataType) {
            if (_dataInspectors.Value.ContainsKey(dataType) == false) {
                return _defaultDataInspector.Value;
            }
            return _dataInspectors.Value[dataType];
        }
public static IDataInspector Get ( Type dataType ) { if ( _dataInspectors . Value . ContainsKey ( dataType ) == false ) { return _defaultDataInspector . Value ; } return _dataInspectors . Value [ dataType ] ; }
Returns a DataInspector that will allow the user to edit the given data type.
Returns a DataInspector that will allow the user to edit the given data type .
dataType
Type
The type of data that is being edited.
The type of data that is being edited .