Game/Assets/Scripts/Player/Player_Attack.cs
/// <summary>
/// Called to 'cast' an ability  
/// </summary>
/// <param name="cast"></param>
Called to 'cast' an ability
Called to ' cast ' an ability
public override bool Cast(string cast)
    {
        if (!isLocalPlayer) return false;
        if (cast.Equals("ABILITY1")) Ability1();
        else if (cast.Equals("ABILITY2")) Ability2();
        else if (cast.Equals("ABILITY3")) Ability3();
        else if (cast.Equals("ABILITY4")) Ability4();
        return true;
    }
public override bool Cast ( string cast ) { if ( ! isLocalPlayer ) return false ; if ( cast . Equals ( " " ) ) Ability1 ( ) ; else if ( cast . Equals ( " " ) ) Ability2 ( ) ; else if ( cast . Equals ( " " ) ) Ability3 ( ) ; else if ( cast . Equals ( " " ) ) Ability4 ( ) ; return true ; }
Called to 'cast' an ability
Called to ' cast ' an ability
cast
string
None