void Awake() { var playerModel = new RPGStatusModel("kyubuns", 10, 20, 5); var enemyModel = new RPGStatusModel("Teki", 15, 25, 100); model = new RPGBattleStateModel(playerModel, enemyModel); BinderTools.ApplyModel(views, model); }
public RPGBattleStateModel(RPGStatusModel player, RPGStatusModel enemy) { this.Player = player; this.Enemy = enemy; }
void Awake() { model = new RPGStatusModel("kyubuns", 10, 20, 5); BinderTools.ApplyModel(views, model); }