other/Scripts/Gameplay/Battle/StateMachine/Token.cs
/// <summary>
/// Checks whether the current token is the same as another one.
/// </summary>
/// <param name="other">The other token to check equality upon.</param>
/// <returns>Returns true if both tokens are the same, false otherwise.</returns>
Checks whether the current token is the same as another one.
Checks whether the current token is the same as another one .
public bool Equals(Token other)
        {
            if ((object)other == null)
                return false;
            return id == other.id;
        }
public bool Equals ( Token other ) { if ( ( object ) other == null ) return false ; return id == other . id ; }
Checks whether the current token is the same as another one.
Checks whether the current token is the same as another one .
Returns true if both tokens are the same, false otherwise.
Returns true if both tokens are the same false otherwise .
other
Token
The other token to check equality upon.
The other token to check equality upon .