LeanTween.scale(currentWings, Vector3.zero, 0.3f).setOnComplete(() => Destroy(currentWings)); isActive = false;
if (triggerOnTouch && other.CompareTag("Player") && !isActive) ActivateWings();
isActive = true; currentWings = Instantiate(wingPrefab, transform); // Play unfurl animation LeanTween.scale(currentWings, Vector3.one, unfurlDuration).setEase(LeanTweenType.easeOutBack); // Apply wing type material / effects ApplyWingVisuals(wingStyle); // Start behavior coroutine StartCoroutine(WingBehavior());
Winged Cloud Patches Access
LeanTween.scale(currentWings, Vector3.zero, 0.3f).setOnComplete(() => Destroy(currentWings)); isActive = false;
if (triggerOnTouch && other.CompareTag("Player") && !isActive) ActivateWings(); winged cloud patches
isActive = true; currentWings = Instantiate(wingPrefab, transform); // Play unfurl animation LeanTween.scale(currentWings, Vector3.one, unfurlDuration).setEase(LeanTweenType.easeOutBack); // Apply wing type material / effects ApplyWingVisuals(wingStyle); // Start behavior coroutine StartCoroutine(WingBehavior()); LeanTween