public override void Stop(bool forceEnd = false) { if (!_isFinished) { if (!_isVisible) { _colorAdapter.SetAlpha(1.0f, _isRecursive); _isVisible = true; } _isFinished = true; } }
public override void Play(GameObject target) { // Set color adapter _colorAdapter = ColorAdapter.Get(target); // Set time _time = 0; // Set visible _isVisible = true; // Set not finished _isFinished = false; // Show _colorAdapter.SetAlpha(1.0f, _isRecursive); }
public override void Reset() { _colorAdapter.SetAlpha(_helper.Start, _isRecursive); }