You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
477 B
16 lines
477 B
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Security.Permissions;
|
|
using UnityEngine;
|
|
using UnityEngine.Assertions;
|
|
using UnityEngine.UI;
|
|
|
|
public class SellViewGrid : ShopViewGrid
|
|
{
|
|
protected override void RegisterMoneyObserver()
|
|
{
|
|
var moneyComp = GetComponentInChildren<InventoryMoneyDisplay>();
|
|
if (moneyComp != null) model.inventory.RegisterObserver(moneyComp); // We wanna see our own money!
|
|
}
|
|
}
|
|
|