void Start() { ColorInventorySystemData colorInventorySystemData = new ColorInventorySystemData(); IColorInventorySystem colorInventorySystem = new ColorInventorySystem(colorInventorySystemData); colorInventorySystemController.Init(colorInventorySystem); colorInventorySystemController.Clear(); colorInventorySystemController.Load(); IPickColorPanel pickColorPanel = new PickColorPanel(); pickColorController.Init(colorInventorySystem, pickColorPanel); }
public ColorInventorySystem(ColorInventorySystemData colorInventorySystemData) { this.colorInventorySystemData = colorInventorySystemData; }