Пример #1
0
    private void OnTriggerEnter(Collider other)
    {
        PlayPickupAfx();
        PlayPickupVfx();
        GameObject thisGameObj = gameObject;

        thisGameObj.SetActive(false);
        Destroy(thisGameObj);
        _parent.ActivateNextStar();
    }