27 lines
896 B
C#
27 lines
896 B
C#
|
namespace UnityEngine.UI.Extensions
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Doesn't seem fully implemented yet?
|
||
|
/// </summary>
|
||
|
//public sealed class GameObjectSurrogate : ISerializationSurrogate
|
||
|
//{
|
||
|
|
||
|
// // Method called to serialize a Vector3 object
|
||
|
// public void GetObjectData(System.Object obj,
|
||
|
// SerializationInfo info, StreamingContext context)
|
||
|
// {
|
||
|
|
||
|
// GameObject go = (GameObject)obj;
|
||
|
// }
|
||
|
|
||
|
// // Method called to deserialize a Vector3 object
|
||
|
// public System.Object SetObjectData(System.Object obj,
|
||
|
// SerializationInfo info, StreamingContext context,
|
||
|
// ISurrogateSelector selector)
|
||
|
// {
|
||
|
|
||
|
// GameObject go = (GameObject)obj;
|
||
|
// return obj;
|
||
|
// }
|
||
|
//}
|
||
|
}
|