Beispiel #1
0
        /// <summary>
        /// Try and find boolean metadata with the given key. If not found on this class, work up hierarchy looking for it.
        /// </summary>
        /// <param name="key"></param>
        /// <returns></returns>
        public bool GetBoolMetaDataHierarchical(FName key)
        {
#if WITH_EDITOR
            return(Native_UStruct.GetBoolMetaDataHierarchical(Address, ref key));
#else
            return(false);
#endif
        }
Beispiel #2
0
        /// <summary>
        /// Try and find boolean metadata with the given key. If not found on this class, work up hierarchy looking for it.
        /// </summary>
        /// <param name="key"></param>
        /// <returns></returns>
        public bool GetBoolMetaDataHierarchical(FName key)
        {
            // WITH_EDITOR
            if (Native_UStruct.GetBoolMetaDataHierarchical == null)
            {
                return(false);
            }

            return(Native_UStruct.GetBoolMetaDataHierarchical(Address, ref key));
        }