[NUI] AIAgentLayer : fix animation usage issue
authorTaehyub Kim <taehyub.kim@samsung.com>
Wed, 15 Mar 2023 08:19:19 +0000 (17:19 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Fri, 17 Mar 2023 09:12:44 +0000 (18:12 +0900)
test/AIAgentLayer/AIAgentLayer.cs

index febe420..6894652 100644 (file)
@@ -59,7 +59,7 @@ namespace AIAgentLayer
 
             if (resetEyeAnimation)
             {
-                resetEyeAnimation.Reset();
+                resetEyeAnimation.Stop();
             }
             else
             {
@@ -73,7 +73,7 @@ namespace AIAgentLayer
         {
             if (inAnimation)
             {
-                inAnimation.Reset();
+                inAnimation.Stop();
             }
             rav.SetAnimationElapsedTime("reset", -1.0f);
             rav.SetAnimationElapsedTime("eye 360", -1.0f);
@@ -237,7 +237,7 @@ namespace AIAgentLayer
             {
                 if (showAnimation)
                 {
-                    showAnimation.Reset();
+                    showAnimation.Stop();
                 }
                 rav.Play();
                 showAnimation.Play();
@@ -253,7 +253,7 @@ namespace AIAgentLayer
             {
                 if (outAnimation)
                 {
-                    outAnimation.Reset();
+                    outAnimation.Stop();
                 }
                 rav.EnableAnimation("in", false);
                 rav.EnableAnimation("out", true);
@@ -276,7 +276,7 @@ namespace AIAgentLayer
 
                 if (resetOkAnimation)
                 {
-                    resetOkAnimation.Reset();
+                    resetOkAnimation.Stop();
                 }
                 else
                 {
@@ -306,7 +306,7 @@ namespace AIAgentLayer
 
                 if (resetListenAnimation)
                 {
-                    resetListenAnimation.Reset();
+                    resetListenAnimation.Stop();
                 }
                 else
                 {
@@ -336,7 +336,7 @@ namespace AIAgentLayer
 
                 if (resetThinkingAnimation)
                 {
-                    resetThinkingAnimation.Reset();
+                    resetThinkingAnimation.Stop();
                 }
                 else
                 {