|
|
@@ -14,8 +14,8 @@ public class StudentAnimator : MonoBehaviour
|
|
|
{
|
|
|
if (startCamera)
|
|
|
{
|
|
|
- cameraSet.transform.localPosition = new Vector3(0, 1.2f, 6);
|
|
|
- cameraSet.transform.localEulerAngles = new Vector3(0, 180, 0);
|
|
|
+ cameraSet.transform.localPosition = Login.Instance.startPoint;
|
|
|
+ cameraSet.transform.localEulerAngles = Login.Instance.startVector;
|
|
|
}
|
|
|
|
|
|
animator.SetBool("IsPlay", true);
|
|
|
@@ -24,8 +24,8 @@ public class StudentAnimator : MonoBehaviour
|
|
|
{
|
|
|
if (endCamera)
|
|
|
{
|
|
|
- cameraSet.transform.localPosition = new Vector3(0, 1.2f, 0);
|
|
|
- cameraSet.transform.localEulerAngles = new Vector3(0, 0, 0);
|
|
|
+ cameraSet.transform.localPosition = Login.Instance.endPoint;
|
|
|
+ cameraSet.transform.localEulerAngles = Login.Instance.endVecotr;
|
|
|
}
|
|
|
|
|
|
animator.SetBool("IsPlay", true);
|