private void OnTriggerEnter(Collider other) { LeanTween.cancel(gameObject); if (_gameController.IsPause) { return; } if (_gameController.CheckTriggeredObject(other.tag)) { var platform = other.GetComponent <PlatformView>(); if (platform != null && _gameController.CheckColor(platform.Type)) { PlayJumpAnimation(); platform.PlayDisappearAnimation(); } } else { PlayFallDownAnimation(); } }