Пример #1
0
    public Potion(HexCell parent, string name) : base(parent, name)
    {
        var sprite = SpriteLoader.GetPotion(name);

        parent.GetComponentInChildren <SpriteRenderer>().sprite = sprite;
    }