Example #1
0
 private void CollectorScript_EarnedPoint(CollectorScript.PlayerType obj)
 {
     if (obj == CollectorScript.PlayerType.Player)
     {
         _camera.DOShakePosition(_duration, _strength, _vibrato, _randomness, _fadeOut);
     }
 }
Example #2
0
 private void CollectorScript_EarnedPoint(CollectorScript.PlayerType obj)
 {
     _sequence = DOTween.Sequence();
     _sequence.Append(_transform.DOScale(Vector3.one, _duration));
     _sequence.Append(_transform.DOScale(Vector3.zero, _duration));
 }