예제 #1
0
 private void On_LerpTransform_AnimationEnded(AnimationLerp <Transform> animationLerp)
 {
     if (UIManager.IsInstanceSet)
     {
         InvokeEventIfBound(CameraMovementEnded, UIManager.Instance.CurrentBFraneFocused);
     }
 }
예제 #2
0
 protected virtual void On_AnimationEnded(AnimationLerp <A> animationLerp)
 {
     if (logAnimationEvents == true)
     {
         LogConsole(AnimationName + " ended");
     }
 }
예제 #3
0
 private void On_AnimationStopped(AnimationLerp <A> animationLerp)
 {
     if (logAnimationEvents == true)
     {
         LogConsole(AnimationName + " stopped");
     }
 }
예제 #4
0
 protected virtual void On_AnimationUpdated(AnimationLerp <A> animationLerp, A value)
 {
     if (logAnimationEvents == true)
     {
         LogConsole(AnimationName + " progressed : " + CurrentPercentage);
     }
 }
예제 #5
0
 protected virtual void On_AnimationStarted(AnimationLerp <A> animationLerp)
 {
     if (logAnimationEvents == true)
     {
         LogConsole(AnimationName + " started. Play time : " + PlayDuration);
     }
 }
예제 #6
0
        protected override void On_AnimationUpdated(AnimationLerp <Color> animationLerp, Color value)
        {
            base.On_AnimationUpdated(animationLerp, value);

            if (animationMeshRenderer)
            {
                animationMeshRenderer.material.SetColor(parameterName, value);
            }
        }
예제 #7
0
 private void On_AnimLerp_Down_AnimationEnded(AnimationLerp <Transform> obj)
 {
     OnNotificationEnded();
 }
예제 #8
0
 /* Down */
 private void On_AnimLerp_Down_AnimationUpdated(AnimationLerp <Transform> arg1, Transform value)
 {
     //transform.localPosition = value.position;
 }
예제 #9
0
 private void On_AnimLerp_Up_AnimationEnded(AnimationLerp <Transform> obj)
 {
     StartNewCoroutine(ref WaitThenPlayDownAnimationEnumerator, WaitThenPlayDownAnimationCoroutine());
 }
예제 #10
0
        protected override void On_AnimationEnded(AnimationLerp <Transform> animationLerp)
        {
            base.On_AnimationEnded(animationLerp);

            //AnimatedTransform = null;
        }
예제 #11
0
        protected override void On_AnimationEnded(AnimationLerp <Color> animationLerp)
        {
            base.On_AnimationEnded(animationLerp);

            animationMeshRenderer = null;
        }