コード例 #1
0
 public void displayNewUnitState(RSUnitState newState, string instanceId)
 {
     Debug.Log("Unit with id: " + instanceId + " now has a health pool of: " + newState.hp);
 }
コード例 #2
0
 private void onUnitStateChanged(RSUnitState newState, string instanceId)
 {
     unitPresenter.displayNewUnitState(newState, instanceId);
 }