Example #1
0
    private void Start()
    {
        HealthComponent health = GetComponent <HealthComponent>();

        health.Modify(amount);
        Destroy(this);
    }