using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Security; using UnityEngine.Internal; using UnityEngine.Scripting; using UnityEngineInternal; namespace UnityEngine { // Token: 0x0200002B RID: 43 [RequiredByNativeCode] public class Component : Object { // Token: 0x170000C8 RID: 200 // (get) Token: 0x06000364 RID: 868 public extern Transform transform { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; } // Token: 0x170000C9 RID: 201 // (get) Token: 0x06000365 RID: 869 public extern GameObject gameObject { [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] get; } // Token: 0x06000366 RID: 870 RVA: 0x00006224 File Offset: 0x00004424 [TypeInferenceRule(TypeInferenceRules.TypeReferencedByFirstArgument)] public Component GetComponent(Type type) { return this.gameObject.GetComponent(type); } // Token: 0x06000367 RID: 871 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] internal extern void GetComponentFastPath(Type type, IntPtr oneFurtherThanResultValue); // Token: 0x06000368 RID: 872 RVA: 0x00006248 File Offset: 0x00004448 [SecuritySafeCritical] public unsafe T GetComponent() { CastHelper castHelper = default(CastHelper); this.GetComponentFastPath(typeof(T), new IntPtr((void*)(&castHelper.onePointerFurtherThanT))); return castHelper.t; } // Token: 0x06000369 RID: 873 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern Component GetComponent(string type); // Token: 0x0600036A RID: 874 RVA: 0x00006288 File Offset: 0x00004488 [TypeInferenceRule(TypeInferenceRules.TypeReferencedByFirstArgument)] public Component GetComponentInChildren(Type t, bool includeInactive) { return this.gameObject.GetComponentInChildren(t, includeInactive); } // Token: 0x0600036B RID: 875 RVA: 0x000062AC File Offset: 0x000044AC [TypeInferenceRule(TypeInferenceRules.TypeReferencedByFirstArgument)] public Component GetComponentInChildren(Type t) { return this.GetComponentInChildren(t, false); } // Token: 0x0600036C RID: 876 RVA: 0x000062CC File Offset: 0x000044CC [ExcludeFromDocs] public T GetComponentInChildren() { bool flag = false; return this.GetComponentInChildren(flag); } // Token: 0x0600036D RID: 877 RVA: 0x000062EC File Offset: 0x000044EC public T GetComponentInChildren([DefaultValue("false")] bool includeInactive) { return (T)((object)this.GetComponentInChildren(typeof(T), includeInactive)); } // Token: 0x0600036E RID: 878 RVA: 0x00006318 File Offset: 0x00004518 [ExcludeFromDocs] public Component[] GetComponentsInChildren(Type t) { bool flag = false; return this.GetComponentsInChildren(t, flag); } // Token: 0x0600036F RID: 879 RVA: 0x00006338 File Offset: 0x00004538 public Component[] GetComponentsInChildren(Type t, [DefaultValue("false")] bool includeInactive) { return this.gameObject.GetComponentsInChildren(t, includeInactive); } // Token: 0x06000370 RID: 880 RVA: 0x0000635C File Offset: 0x0000455C public T[] GetComponentsInChildren(bool includeInactive) { return this.gameObject.GetComponentsInChildren(includeInactive); } // Token: 0x06000371 RID: 881 RVA: 0x00006380 File Offset: 0x00004580 public void GetComponentsInChildren(bool includeInactive, List result) { this.gameObject.GetComponentsInChildren(includeInactive, result); } // Token: 0x06000372 RID: 882 RVA: 0x00006390 File Offset: 0x00004590 public T[] GetComponentsInChildren() { return this.GetComponentsInChildren(false); } // Token: 0x06000373 RID: 883 RVA: 0x000063AC File Offset: 0x000045AC public void GetComponentsInChildren(List results) { this.GetComponentsInChildren(false, results); } // Token: 0x06000374 RID: 884 RVA: 0x000063B8 File Offset: 0x000045B8 [TypeInferenceRule(TypeInferenceRules.TypeReferencedByFirstArgument)] public Component GetComponentInParent(Type t) { return this.gameObject.GetComponentInParent(t); } // Token: 0x06000375 RID: 885 RVA: 0x000063DC File Offset: 0x000045DC public T GetComponentInParent() { return (T)((object)this.GetComponentInParent(typeof(T))); } // Token: 0x06000376 RID: 886 RVA: 0x00006408 File Offset: 0x00004608 [ExcludeFromDocs] public Component[] GetComponentsInParent(Type t) { bool flag = false; return this.GetComponentsInParent(t, flag); } // Token: 0x06000377 RID: 887 RVA: 0x00006428 File Offset: 0x00004628 public Component[] GetComponentsInParent(Type t, [DefaultValue("false")] bool includeInactive) { return this.gameObject.GetComponentsInParent(t, includeInactive); } // Token: 0x06000378 RID: 888 RVA: 0x0000644C File Offset: 0x0000464C public T[] GetComponentsInParent(bool includeInactive) { return this.gameObject.GetComponentsInParent(includeInactive); } // Token: 0x06000379 RID: 889 RVA: 0x00006470 File Offset: 0x00004670 public void GetComponentsInParent(bool includeInactive, List results) { this.gameObject.GetComponentsInParent(includeInactive, results); } // Token: 0x0600037A RID: 890 RVA: 0x00006480 File Offset: 0x00004680 public T[] GetComponentsInParent() { return this.GetComponentsInParent(false); } // Token: 0x0600037B RID: 891 RVA: 0x0000649C File Offset: 0x0000469C public Component[] GetComponents(Type type) { return this.gameObject.GetComponents(type); } // Token: 0x0600037C RID: 892 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private extern void GetComponentsForListInternal(Type searchType, object resultList); // Token: 0x0600037D RID: 893 RVA: 0x000064C0 File Offset: 0x000046C0 public void GetComponents(Type type, List results) { this.GetComponentsForListInternal(type, results); } // Token: 0x0600037E RID: 894 RVA: 0x000064CC File Offset: 0x000046CC public void GetComponents(List results) { this.GetComponentsForListInternal(typeof(T), results); } // Token: 0x170000CA RID: 202 // (get) Token: 0x0600037F RID: 895 RVA: 0x000064E0 File Offset: 0x000046E0 // (set) Token: 0x06000380 RID: 896 RVA: 0x00006500 File Offset: 0x00004700 public string tag { get { return this.gameObject.tag; } set { this.gameObject.tag = value; } } // Token: 0x06000381 RID: 897 RVA: 0x00006510 File Offset: 0x00004710 public T[] GetComponents() { return this.gameObject.GetComponents(); } // Token: 0x06000382 RID: 898 RVA: 0x00006530 File Offset: 0x00004730 public bool CompareTag(string tag) { return this.gameObject.CompareTag(tag); } // Token: 0x06000383 RID: 899 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void SendMessageUpwards(string methodName, [DefaultValue("null")] object value, [DefaultValue("SendMessageOptions.RequireReceiver")] SendMessageOptions options); // Token: 0x06000384 RID: 900 RVA: 0x00006554 File Offset: 0x00004754 [ExcludeFromDocs] public void SendMessageUpwards(string methodName, object value) { SendMessageOptions sendMessageOptions = SendMessageOptions.RequireReceiver; this.SendMessageUpwards(methodName, value, sendMessageOptions); } // Token: 0x06000385 RID: 901 RVA: 0x00006570 File Offset: 0x00004770 [ExcludeFromDocs] public void SendMessageUpwards(string methodName) { SendMessageOptions sendMessageOptions = SendMessageOptions.RequireReceiver; object obj = null; this.SendMessageUpwards(methodName, obj, sendMessageOptions); } // Token: 0x06000386 RID: 902 RVA: 0x0000658C File Offset: 0x0000478C public void SendMessageUpwards(string methodName, SendMessageOptions options) { this.SendMessageUpwards(methodName, null, options); } // Token: 0x06000387 RID: 903 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void SendMessage(string methodName, [DefaultValue("null")] object value, [DefaultValue("SendMessageOptions.RequireReceiver")] SendMessageOptions options); // Token: 0x06000388 RID: 904 RVA: 0x00006598 File Offset: 0x00004798 [ExcludeFromDocs] public void SendMessage(string methodName, object value) { SendMessageOptions sendMessageOptions = SendMessageOptions.RequireReceiver; this.SendMessage(methodName, value, sendMessageOptions); } // Token: 0x06000389 RID: 905 RVA: 0x000065B4 File Offset: 0x000047B4 [ExcludeFromDocs] public void SendMessage(string methodName) { SendMessageOptions sendMessageOptions = SendMessageOptions.RequireReceiver; object obj = null; this.SendMessage(methodName, obj, sendMessageOptions); } // Token: 0x0600038A RID: 906 RVA: 0x000065D0 File Offset: 0x000047D0 public void SendMessage(string methodName, SendMessageOptions options) { this.SendMessage(methodName, null, options); } // Token: 0x0600038B RID: 907 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] public extern void BroadcastMessage(string methodName, [DefaultValue("null")] object parameter, [DefaultValue("SendMessageOptions.RequireReceiver")] SendMessageOptions options); // Token: 0x0600038C RID: 908 RVA: 0x000065DC File Offset: 0x000047DC [ExcludeFromDocs] public void BroadcastMessage(string methodName, object parameter) { SendMessageOptions sendMessageOptions = SendMessageOptions.RequireReceiver; this.BroadcastMessage(methodName, parameter, sendMessageOptions); } // Token: 0x0600038D RID: 909 RVA: 0x000065F8 File Offset: 0x000047F8 [ExcludeFromDocs] public void BroadcastMessage(string methodName) { SendMessageOptions sendMessageOptions = SendMessageOptions.RequireReceiver; object obj = null; this.BroadcastMessage(methodName, obj, sendMessageOptions); } // Token: 0x0600038E RID: 910 RVA: 0x00006614 File Offset: 0x00004814 public void BroadcastMessage(string methodName, SendMessageOptions options) { this.BroadcastMessage(methodName, null, options); } } }