public bool Play(LetterAnimationTypeEnum __animation, Vector3 _startPosition, Vector3 _endPosition, bool _loop, float _speed, float _rotationSpeed, float _fontSizeNormalizedPercentDiff, GameObject _particleSystemPrefab, int _fontSize, float _speed2, float _interval1, GameObject _particleSystem2Prefab, bool _soundsOn, List <AudioClip> _fireworkWhistles, List <AudioClip> _fireworkShots) { if (!isPlaying) { _animation = __animation; startPosition = _startPosition; endPosition = _endPosition; loop = _loop; speed = _speed; rotationSpeed = _rotationSpeed; fontSizeNormalizedPercentDiff = _fontSizeNormalizedPercentDiff; particleSystemPrefab = _particleSystemPrefab; fontSize = _fontSize; speed2 = _speed2; interval1 = _interval1; particleSystem2Prefab = _particleSystem2Prefab; fireworkWhistles = _fireworkWhistles; fireworkShots = _fireworkShots; soundsOn = _soundsOn; Play(); return(true); } else { return(false); } }
public bool Play(LetterAnimationTypeEnum __animation, Vector3 _startPosition, Vector3 _endPosition, bool _loop, float _speed, float _rotationSpeed, float _fontSizeNormalizedPercentDiff) { if (!isPlaying) { _animation = __animation; startPosition = _startPosition; endPosition = _endPosition; loop = _loop; speed = _speed; rotationSpeed = _rotationSpeed; fontSizeNormalizedPercentDiff = _fontSizeNormalizedPercentDiff; Play(); return(true); } else { return(false); } }