Пример #1
0
 protected override void Awake()
 {
     base.Awake();
     objectType = OBJECT_TYPE.RESOURCE;
     gatherLeft = maxGatherAmount;
     if (ui != null)
     {
         ui.UpdateGather(gatherLeft, maxGatherAmount);
     }
 }