private void DelegateMethod() { Debug.Log("Test Item 5: Zooming to scale: " + targetScale.ToString()); CoroutineManager.BeginCoroutine(CREffects.SmoothZoomToScale(transformToZoom, initialScale, targetScale, smoothTime, maxSpeed, scaleError, DelegateMethod), ref cr_ScaleZoom, this); }
// Use this for initialization void Start() { CoroutineManager.BeginCoroutine(CREffects.SmoothZoomToScale(transformToZoom, initialScale, targetScale, smoothTime, maxSpeed, scaleError, DelegateMethod), ref cr_ScaleZoom, this); }