static public int constructor(IntPtr l) { try { UnityEngine.UI.Extensions.Vector3Surrogate o; o = new UnityEngine.UI.Extensions.Vector3Surrogate(); pushValue(l, o); return(1); } catch (Exception e) { return(error(l, e)); } }
private static void AddSurrogates(ref SurrogateSelector ss) { Vector2Surrogate Vector2_SS = new Vector2Surrogate(); ss.AddSurrogate(typeof(Vector2), new StreamingContext(StreamingContextStates.All), Vector2_SS); Vector3Surrogate Vector3_SS = new Vector3Surrogate(); ss.AddSurrogate(typeof(Vector3), new StreamingContext(StreamingContextStates.All), Vector3_SS); Vector4Surrogate Vector4_SS = new Vector4Surrogate(); ss.AddSurrogate(typeof(Vector4), new StreamingContext(StreamingContextStates.All), Vector4_SS); ColorSurrogate Color_SS = new ColorSurrogate(); ss.AddSurrogate(typeof(Color), new StreamingContext(StreamingContextStates.All), Color_SS); QuaternionSurrogate Quaternion_SS = new QuaternionSurrogate(); ss.AddSurrogate(typeof(Quaternion), new StreamingContext(StreamingContextStates.All), Quaternion_SS); //Reserved for future implementation //Texture2DSurrogate Texture2D_SS = new Texture2DSurrogate(); //ss.AddSurrogate(typeof(Texture2D), // new StreamingContext(StreamingContextStates.All), // Texture2D_SS); //GameObjectSurrogate GameObject_SS = new GameObjectSurrogate(); //ss.AddSurrogate(typeof(GameObject), // new StreamingContext(StreamingContextStates.All), // GameObject_SS); //TransformSurrogate Transform_SS = new TransformSurrogate(); //ss.AddSurrogate(typeof(Transform), // new StreamingContext(StreamingContextStates.All), // Transform_SS); }
static public int GetObjectData(IntPtr l) { try { UnityEngine.UI.Extensions.Vector3Surrogate self = (UnityEngine.UI.Extensions.Vector3Surrogate)checkSelf(l); System.Object a1; checkType(l, 2, out a1); System.Runtime.Serialization.SerializationInfo a2; checkType(l, 3, out a2); System.Runtime.Serialization.StreamingContext a3; checkValueType(l, 4, out a3); self.GetObjectData(a1, a2, a3); return(0); } catch (Exception e) { return(error(l, e)); } }
// Token: 0x0600A8ED RID: 43245 RVA: 0x003EB7C4 File Offset: 0x003E99C4 private static void OEHOEJEGIBL(ref SurrogateSelector IGBGEEKMMDN) { Vector2Surrogate surrogate = new Vector2Surrogate(); IGBGEEKMMDN.AddSurrogate(typeof(Vector2), new StreamingContext(StreamingContextStates.All), surrogate); Vector3Surrogate surrogate2 = new Vector3Surrogate(); IGBGEEKMMDN.AddSurrogate(typeof(Vector3), new StreamingContext(StreamingContextStates.All), surrogate2); Vector4Surrogate surrogate3 = new Vector4Surrogate(); IGBGEEKMMDN.AddSurrogate(typeof(Vector4), new StreamingContext(StreamingContextStates.All), surrogate3); ColorSurrogate surrogate4 = new ColorSurrogate(); IGBGEEKMMDN.AddSurrogate(typeof(Color), new StreamingContext(StreamingContextStates.All), surrogate4); QuaternionSurrogate surrogate5 = new QuaternionSurrogate(); IGBGEEKMMDN.AddSurrogate(typeof(Quaternion), new StreamingContext(StreamingContextStates.All), surrogate5); }