Example #1
0
        public SerializedProperty GetFixedBufferElementAtIndex(int index)
        {
            SerializedProperty prop = Copy();

            if (prop.GetFixedBufferAtIndexInternal(index))
            {
                return(prop);
            }
            else
            {
                return(null);
            }
        }
Example #2
0
        public SerializedProperty GetFixedBufferElementAtIndex(int index)
        {
            Verify(VerifyFlags.IteratorNotAtEnd);
            SerializedProperty prop = Copy();

            if (prop.GetFixedBufferAtIndexInternal(index))
            {
                return(prop);
            }
            else
            {
                return(null);
            }
        }
        public SerializedProperty GetFixedBufferElementAtIndex(int index)
        {
            SerializedProperty serializedProperty = this.Copy();
            SerializedProperty result;

            if (serializedProperty.GetFixedBufferAtIndexInternal(index))
            {
                result = serializedProperty;
            }
            else
            {
                result = null;
            }
            return(result);
        }