using UniRx; using UnityEngine; namespace TON { public class RoulettePiecePresenter { public ReactiveProperty Icon { get; } public ReactiveProperty Description { get; } public ReactiveProperty Chance { get; } public ReactiveProperty Index { get; } public ReactiveProperty Weight { get; } public RoulettePieceData Model { get; } public RoulettePiecePresenter(RoulettePieceData model) { Model = model; Icon = new ReactiveProperty(model.icon); Description = new ReactiveProperty(model.description); Chance = new ReactiveProperty(model.chance); Index = new ReactiveProperty(model.index); Weight = new ReactiveProperty(model.weight); } } }