jyx2/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3Writer.cs
/// <summary>Writes a value to the writer with the given key.</summary>
/// <param name="key">The key which uniquely identifies this value.</param>
/// <param name="value">The value we want to write.</param>
Writes a value to the writer with the given key.
Writes a value to the writer with the given key .
public virtual void Write<T>(string key, object value)
    {
        if(typeof(T) == typeof(object))
            Write(value.GetType(), key, value);
        else
            Write(typeof(T), key, value);
    }
public virtual void Write < T > ( string key , object value ) { if ( typeof ( T ) == typeof ( object ) ) Write ( value . GetType ( ) , key , value ) ; else Write ( typeof ( T ) , key , value ) ; }
Writes a value to the writer with the given key.
Writes a value to the writer with the given key .
key
string
The key which uniquely identifies this value.
The key which uniquely identifies this value .
value
object
The value we want to write.
The value we want to write .