Esempio n. 1
0
    private void Gain(GameObject collectableObject)
    {
        ICollectable collectable = collectableObject.GetComponent <ICollectable>();

        collectable.Gain(gameObject);
    }