/// <summary> /// Picking the resource. /// </summary> void PickResource() { CommonData.ResourceType type = _nowTouching._type; int num = _nowTouching.Collect(this); _bag.AddResource(type, num); ((SceneManagerFight)GameManager.Instance._scene).GetItem((int)type, num); }
/// <summary> /// Picking the resource. /// </summary> void PickResource() { _nowTouching.Collect(this, _playerData._collectionSpeed); }