public void Work(DictionarySurrogateSelector surrogates, StreamingContext context)
		{
			UnityObjectSurrogate surrogate = new UnityObjectSurrogate();
			foreach (Type current in RuntimeReflectionUtilities.GetUnityObjectTypes())
			{
				surrogates.AddSurrogate(current, context, surrogate);
			}
		}
示例#2
0
        public void Work(DictionarySurrogateSelector surrogates, StreamingContext context)
        {
            var unityObjectSurrogate = new UnityObjectSurrogate();

            foreach (Type unityObjectType in fiRuntimeReflectionUtility.GetUnityObjectTypes())
            {
                surrogates.AddSurrogate(unityObjectType, context, unityObjectSurrogate);
            }
        }
示例#3
0
 public void Work(DictionarySurrogateSelector surrogates, StreamingContext context) {
     surrogates.AddSurrogate(typeof(Color), context, new ColorSurrogate());
 }
 public void Work(DictionarySurrogateSelector surrogates, StreamingContext context)
 {
     surrogates.AddSurrogate(typeof(Keyframe), context, new KeyframeSurrogate());
     surrogates.AddSurrogate(typeof(AnimationCurve), context, new AnimationCurveSurrogate());
 }
示例#5
0
 public void Work(DictionarySurrogateSelector surrogates, StreamingContext context)
 {
     surrogates.AddSurrogate(typeof(Bounds), context, new BoundsSurrogate());
 }
示例#6
0
 public void Work(DictionarySurrogateSelector surrogates, StreamingContext context) {
     surrogates.AddSurrogate(typeof(Vector2), context, new Vector2Surrogate());
     surrogates.AddSurrogate(typeof(Vector3), context, new Vector3Surrogate());
     surrogates.AddSurrogate(typeof(Vector4), context, new Vector4Surrogate());
 }
示例#7
0
 public void Work(DictionarySurrogateSelector surrogates, StreamingContext context) {
     var unityObjectSurrogate = new UnityObjectSurrogate();
     foreach (Type unityObjectType in fiRuntimeReflectionUtility.GetUnityObjectTypes()) {
         surrogates.AddSurrogate(unityObjectType, context, unityObjectSurrogate);
     }
 }
示例#8
0
 public void Work(DictionarySurrogateSelector surrogates, StreamingContext context)
 {
     surrogates.AddSurrogate(typeof(Gradient), context, new GradientSurrogate());
     surrogates.AddSurrogate(typeof(GradientAlphaKey), context, new GradientAlphaKeySurrogate());
     surrogates.AddSurrogate(typeof(GradientColorKey), context, new GradientColorKeySurrogate());
 }
示例#9
0
 public void Work(DictionarySurrogateSelector surrogates, StreamingContext context) {
     surrogates.AddSurrogate(typeof(Gradient), context, new GradientSurrogate());
     surrogates.AddSurrogate(typeof(GradientAlphaKey), context, new GradientAlphaKeySurrogate());
     surrogates.AddSurrogate(typeof(GradientColorKey), context, new GradientColorKeySurrogate());
 }
示例#10
0
		public void Work(DictionarySurrogateSelector surrogates, StreamingContext context)
		{
			surrogates.AddSurrogate(typeof(LayerMask), context, new LayerMaskSurrogate());
		}
示例#11
0
		public void Work(DictionarySurrogateSelector surrogates, StreamingContext context)
		{
			surrogates.AddSurrogate(typeof(Keyframe), context, new KeyframeSurrogate());
			surrogates.AddSurrogate(typeof(AnimationCurve), context, new AnimationCurveSurrogate());
		}
示例#12
0
 public void Work(DictionarySurrogateSelector surrogates, StreamingContext context)
 {
     surrogates.AddSurrogate(typeof(LayerMask), context, new LayerMaskSurrogate());
 }
示例#13
0
 public void Work(DictionarySurrogateSelector surrogates, StreamingContext context)
 {
     surrogates.AddSurrogate(typeof(Vector2), context, new Vector2Surrogate());
     surrogates.AddSurrogate(typeof(Vector3), context, new Vector3Surrogate());
     surrogates.AddSurrogate(typeof(Vector4), context, new Vector4Surrogate());
 }