Exemplo n.º 1
0
    private void OnTriggerEnter(Collider other)
    {
        PickUp();

        var runner = other.GetComponent <AbstractRunner>();

        if (runner)
        {
            _pickUpParticleSystem.DORestart();
            runner.Stun();
        }
    }