public void Hit() { BattleModel.Callback endCallback = () => { Debug.Log("Hit End!"); }; hero.Hit(endCallback); }
public void testHit() { UpdateLog("Hit Test"); testModel.Hit(() => { AppendLog("Hit Done!"); }); }
public void Hit() { AnimeCallback endCallback = () => { Debug.Log("Hit End!"); }; hero.Hit(endCallback); }
protected override void OnStart() { if (name == "") { name = "BattleHit"; } SetEndByCondition(); // When for if (actor == null) { MarkAsDone(); return; } actor.Hit(() => { MarkAsDone(); }); }