Пример #1
0
    public IEnumerator MoveToPoint(Vector3 point, CallbackDelegateNull callback)
    {
        yield return(MoveToPoint(point));

        callback();
    }
Пример #2
0
    public static IEnumerator FadeElement(CanvasGroup cg, float lerpTime, float start, float end, CallbackDelegateNull callback, float delay = 0f)
    {
        yield return(FadeElement(cg: cg, lerpTime: lerpTime, start: start, end: end, delay: delay));

        callback();
    }