Class RequireComponent : Attribute : Object Path C++ Link UnityEngine.RequireComponent, UnityEngine.CoreModule 0x0028 (40 B) inherited 0x0010 UnityEngine.CoreModule.dll 0x00x0028 Members 3 Show inherited members OffsetSizeNameTypeFlagsDefault0x00100x08m_Type0TypePublic—0x00180x08m_Type1TypePublic—0x00200x08m_Type2TypePublic— Functions 1 SignatureFlagsNativeParamsvoid .ctor(Type requiredComponent)Public+1 flags0x3490100x08 Used by 7types with a member, parameter or interface of this type AttributeHelperEngineEmptyInternalEnumerator`1ICollection`1IList`1InternalEnumerator`1IReadOnlyList`1RequireComponent[] // UnityEngine.RequireComponent, UnityEngine.CoreModule // size 0x0028 (40), inherited 0x0010 class RequireComponent : public Attribute { public: Type m_Type0; // 0x0010(0x08) Public Type m_Type1; // 0x0018(0x08) Public Type m_Type2; // 0x0020(0x08) Public void .ctor(Type requiredComponent); // 0x349010 [Public SpecialName] };