MVC shop project for software architecture, in Unity.
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.
 
 
 

13 lines
363 B

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InventoryModelComponent : ModelComponent
{
[SerializeField] private ShopObject shop;
protected override void CreateModel()
{
Debug.Assert(shop != null,"Shop model initial object never assigned!",this);
model = new SellModel(shop);
}
}