예제 #1
0
        ///
        public int GetComponent()
        {
            InternalUnsafeMethods.GetComponent__Args _args = new InternalUnsafeMethods.GetComponent__Args()
            {
            };
            int _engineResult = InternalUnsafeMethods.GetComponent()(ObjectPtr, _args);

            return(_engineResult);
        }
예제 #2
0
        /// <description>
        /// Get the number of static fields on the object.
        /// </description>
        /// <returns>The number of static fields defined on the object.</returns>
        public Component GetComponent(string componentName = "")
        {
            InternalUnsafeMethods.GetComponent__Args _args = new InternalUnsafeMethods.GetComponent__Args()
            {
                componentName = componentName,
            };
            IntPtr _engineResult = InternalUnsafeMethods.GetComponent()(ObjectPtr, _args);

            return(new Component(_engineResult));
        }