UnityPlatformer.CharacterHealth.SetInvulnerable C# (CSharp) Method

SetInvulnerable() public method

Turns a character invulnerable, but still can be killed using Kill NOTE use float.MaxValue for unlimited time
public SetInvulnerable ( float time ) : void
time float
return void
    public void SetInvulnerable(float time) {
      invulnerability.Update(time);
      invulnerability.Reset();
    }
    /// <summary>