Esempio n. 1
0
 void ICollectItem.OnCollect(EcsEntity entity)
 {
     entity.RLSetMaxHealth(entity.RLGetMaxHealth() + value);
     entity.RLSetHealth(entity.RLGetHealth() + value);
 }