void StartPhaseDissolve() { transitionEffect.StartOverride(); renderMaterial.SetFloat("percentage", 1); lerpT0 = 0; lerpTEnd = lerpT0 + transitionTime; lerpCurrent = 0; isPhasing = true; }
void StartPhaseDissolve() { transitionEffect.StartOverride(); renderMaterial.SetFloat("percentage", 1); lerpT0 = 0; lerpTEnd = lerpT0 + transitionTime; lerpCurrent = 0; isPhasing = true; }