コード例 #1
0
 protected override void Execute(List <GameEntity> entities)
 {
     foreach (var entity in entities)
     {
         var uiEntities = uiContext.GetEntitiesWithPlayerResource(entity.resource.resource);
         foreach (var uiEntity in uiEntities)
         {
             uiEntity.ReplaceText(entity.resourceQuantity.quantity.ToString());
         }
     }
 }