示例#1
0
    // Called when the node enters the scene tree for the first time.
    public override void _Ready()
    {
        waterSlot = (EquipmentSlot)GetNode("WaterSlot");
        dirtSlot  = (EquipmentSlot)GetNode("DirtSlot");

        dirtSlot.SetIcon("💩", new Color(0.3f, 0.3f, 0.3f));
        UpdateActiveSlot();
    }