瀏覽代碼

修复动画问题

ZXP 1 年之前
父節點
當前提交
4a28ac0fac
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Assets/Scenes/Main.unity
  2. 1 1
      Assets/StudentAnimator.cs

+ 1 - 1
Assets/Scenes/Main.unity

@@ -6991,7 +6991,7 @@ PrefabInstance:
     - target: {fileID: 1568682739089164656, guid: 2980ccc56dc596f498fa8bbd3b808cd9, type: 3}
       propertyPath: animator
       value: 
-      objectReference: {fileID: 156663362}
+      objectReference: {fileID: 521937606}
     - target: {fileID: 1568682739089164656, guid: 2980ccc56dc596f498fa8bbd3b808cd9, type: 3}
       propertyPath: cameraSet
       value: 

+ 1 - 1
Assets/StudentAnimator.cs

@@ -28,6 +28,6 @@ public class StudentAnimator : MonoBehaviour
             cameraSet.transform.localEulerAngles = Login.Instance.endVecotr;
         }
 
-        animator.SetBool("IsPlay", true);
+        animator.SetBool("IsPlay", false);
     }
 }

粤ICP备19079148号