window - animation - animation
curves => 움직임 수정
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class animation : MonoBehaviour
{
private Animation anim;
// Start is called before the first frame update
void Start()
{
anim = GetComponent<Animation>();
}
// Update is called once per frame
void Update()
{
if (Input.GetKeyDown(KeyCode.W))
//anim.Play("cubeAnimation1");
//anim.PlayQueued("cubeAnimation1"); // 앞에것이 끝나면 이어서
anim.Blend("cubeAnimation1"); // 둘이 섞어서
//anim.CrossFade("cubeAnimation1"); // 자연스럽게 대치
}
}