Scripts/Accounting/Account.cs
/// <summary>
/// Sets the value of a specific flag in the Flags bitfield.
/// </summary>
/// <param name="index">The zero-based flag index.</param>
/// <param name="value">The value to set.</param>
Sets the value of a specific flag in the Flags bitfield.
Sets the value of a specific flag in the Flags bitfield .
public void SetFlag( int index, bool value )
		{
			if ( value )
				m_Flags |= ( 1 << index );
			else
				m_Flags &= ~( 1 << index );
		}
public void SetFlag ( int index , bool value ) { if ( value ) m_Flags |= ( 1 << index ) ; else m_Flags &= ~ ( 1 << index ) ; }
Sets the value of a specific flag in the Flags bitfield.
Sets the value of a specific flag in the Flags bitfield .
index
int
The zero-based flag index.
The zero - based flag index .
value
bool
The value to set.
The value to set .