improved spacing
This commit is contained in:
parent
d454ea31df
commit
64ca806055
|
|
@ -1044,6 +1044,7 @@ MonoBehaviour:
|
|||
_scroll: {fileID: 6038557817912069913}
|
||||
_jumpDistance: 8
|
||||
_jumpDistanceGiraffe: 32
|
||||
_jumpStartCameraDistance: 3
|
||||
--- !u!1 &9154566379104488428
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
|||
|
|
@ -207,9 +207,11 @@ namespace HeavenStudio.Games
|
|||
|
||||
animal.Init(currentAnimal.startBeat, expBeat, _lastAnimalWasGiraffe);
|
||||
|
||||
_animalSummatedDistance += (animal.GetRotationDistance() * 0.5f);
|
||||
|
||||
animal.transform.localPosition = new Vector3(_animalSummatedDistance, 0, 0);
|
||||
|
||||
_animalSummatedDistance += animal.GetRotationDistance() + ((currentAnimal.type == AnimalType.Giraffe) ? _jumpDistanceGiraffe : _jumpDistance);
|
||||
_animalSummatedDistance += (animal.GetRotationDistance() * 0.5f) + ((currentAnimal.type == AnimalType.Giraffe) ? _jumpDistanceGiraffe : _jumpDistance);
|
||||
_lastAnimalWasGiraffe = currentAnimal.type == AnimalType.Giraffe;
|
||||
|
||||
_animalPoolIndex++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue