Пример #1
0
 public void SetSustainShake(CameraShake cameraShake)
 {
     this.sustainShake = cameraShake;
 }
Пример #2
0
 public void StopSustainShake(float fadeTime = 1.0f)
 {
     this.shakes.Add(new CameraShake(fadeTime, this.sustainShake));
     this.sustainShake = null;
 }
Пример #3
0
 public void AddShake(CameraShake cameraShake)
 {
     this.shakes.Add(cameraShake);
 }