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.
21 lines
700 B
21 lines
700 B
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Security.Permissions;
|
|
using UnityEditor;
|
|
using UnityEngine;
|
|
using UnityEngine.Assertions;
|
|
using UnityEngine.UI;
|
|
|
|
/// <summary>
|
|
/// 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!
|
|
/// </summary>
|
|
public class SellViewList : ShopViewList
|
|
{
|
|
protected override void RegisterMoneyObserver()
|
|
{
|
|
var moneyComp = GetComponentInChildren<InventoryMoneyDisplay>();
|
|
if (moneyComp != null) model.inventory.RegisterObserver(moneyComp); // Same as grid sell view, we want to see our own money!
|
|
}
|
|
}
|
|
|