protected override void Awake() { base.Awake(); objectType = OBJECT_TYPE.RESOURCE; gatherLeft = maxGatherAmount; if (ui != null) { ui.UpdateGather(gatherLeft, maxGatherAmount); } }
protected override void Awake() { base.Awake(); objectType = OBJECT_TYPE.RESOURCE; gatherLeft = maxGatherAmount; if (ui != null) { ui.UpdateGather(gatherLeft, maxGatherAmount); } }