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

            foreach (Type unityObjectType in fiRuntimeReflectionUtility.GetUnityObjectTypes())
            {
                surrogates.AddSurrogate(unityObjectType, context, unityObjectSurrogate);
            }
        }
Esempio n. 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());
 }
Esempio n. 5
0
 public void Work(DictionarySurrogateSelector surrogates, StreamingContext context)
 {
     surrogates.AddSurrogate(typeof(Bounds), context, new BoundsSurrogate());
 }
Esempio n. 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());
 }
Esempio n. 7
0
 public void Work(DictionarySurrogateSelector surrogates, StreamingContext context) {
     var unityObjectSurrogate = new UnityObjectSurrogate();
     foreach (Type unityObjectType in fiRuntimeReflectionUtility.GetUnityObjectTypes()) {
         surrogates.AddSurrogate(unityObjectType, context, unityObjectSurrogate);
     }
 }
Esempio n. 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());
 }
Esempio n. 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());
 }
Esempio n. 10
0
		public void Work(DictionarySurrogateSelector surrogates, StreamingContext context)
		{
			surrogates.AddSurrogate(typeof(LayerMask), context, new LayerMaskSurrogate());
		}
Esempio n. 11
0
		public void Work(DictionarySurrogateSelector surrogates, StreamingContext context)
		{
			surrogates.AddSurrogate(typeof(Keyframe), context, new KeyframeSurrogate());
			surrogates.AddSurrogate(typeof(AnimationCurve), context, new AnimationCurveSurrogate());
		}
Esempio n. 12
0
 public void Work(DictionarySurrogateSelector surrogates, StreamingContext context)
 {
     surrogates.AddSurrogate(typeof(LayerMask), context, new LayerMaskSurrogate());
 }
Esempio n. 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());
 }