コード例 #1
0
 /// <summary>Get the value at index</summary>
 /// <param name="bitIndex">The index</param>
 /// <returns>Value at the index</returns>
 protected override bool GetBitAt_Internal(uint bitIndex)
 => BitArrayUtilities.Get128(
     bitIndex,
     (ulong)m_SerializedProperty.FindPropertyRelative("data1").longValue,
     (ulong)m_SerializedProperty.FindPropertyRelative("data2").longValue);
コード例 #2
0
 static bool Get128(this SerializedProperty property, uint bitIndex)
 => BitArrayUtilities.Get128(
     bitIndex,
     (ulong)property.FindPropertyRelative("data1").longValue,
     (ulong)property.FindPropertyRelative("data2").longValue);