using System;
using System.Collections;
using System.Collections.Generic;
using System.Security.Permissions;
using UnityEditor;
using UnityEngine;
using UnityEngine.Assertions;
using UnityEngine.UI;
///
/// This view is meant to be used in conjunction with a list. Realistically, it is mostly similar to the grid view,
/// as both operate with prototypes!
///
public class SellViewList : ShopViewList
{
protected override void RegisterMoneyObserver()
{
var moneyComp = GetComponentInChildren();
if (moneyComp != null) model.inventory.RegisterObserver(moneyComp); // Same as grid sell view, we want to see our own money!
}
}