BulletHole.FixedUpdate C# (CSharp) Method

FixedUpdate() public method

public FixedUpdate ( ) : void
return void
    void FixedUpdate()
    {
        brightness -= Time.fixedDeltaTime * 0.5f;
        if (brightness <= 0) Destroy(this);
        mat.SetFloat(ID, brightness);
    }