Forge/Editor/DataInspector.cs
/// <summary>
/// Ensures that the inspector has been prepared for editing the given data instance.
/// </summary>
/// <param name="data"></param>
Ensures that the inspector has been prepared for editing the given data instance.
Ensures that the inspector has been prepared for editing the given data instance .
private void EnsurePrepared(Data.IData data, GameObject context) {
            if (ReferenceEquals(_previouslyEdited, data) == false) {
                Prepare((DataType)data, context);
                _previouslyEdited = (DataType)data;
            }
        }
private void EnsurePrepared ( Data . IData data , GameObject context ) { if ( ReferenceEquals ( _previouslyEdited , data ) == false ) { Prepare ( ( DataType ) data , context ) ; _previouslyEdited = ( DataType ) data ; } }
Ensures that the inspector has been prepared for editing the given data instance.
Ensures that the inspector has been prepared for editing the given data instance .
data
Data.IData
None
context
GameObject