RunnerBehavior.OnDeath C# (CSharp) Method

OnDeath() public method

public OnDeath ( ) : void
return void
    public override void OnDeath()
    {
        base.OnDeath ();
        Instantiate (Poof, transform.position, Quaternion.identity);
        AudioSource.PlayClipAtPoint(DeathSound, Camera.main.transform.position,100.0f);
    }