대화중 표정 수정
This commit is contained in:
@@ -1,10 +1,18 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[CreateAssetMenu(menuName = "Communication/Expression")]
|
||||
public class ExpressionData : ScriptableObject
|
||||
{
|
||||
[HideInInspector] public int AnimationLayer = 1;
|
||||
public string StateName;
|
||||
public float CrossFadeDuration = 0.2f;
|
||||
[HideInInspector] public int AnimationLayer = 1; // 표정: 보통 Face 레이어(1)
|
||||
|
||||
[Tooltip("이 레이어의 Dlg 슬롯에 꽂아 재생할 표정 클립. " +
|
||||
"슬롯은 Tools/Dialog 메뉴로 컨트롤러에 자동 생성")]
|
||||
public AnimationClip AnimClip;
|
||||
}
|
||||
|
||||
public float CrossFadeDuration = 0.2f;
|
||||
|
||||
[Tooltip("이 표정 동안 활성화할 커스텀 연출 Key들 (화자의 CharacterExpressionCustom에 등록된 Key). " +
|
||||
"예: eyeHighlightOff, blush. 대화가 끝나거나 다른 표정으로 바뀌면 자동 해제")]
|
||||
public List<string> CustomKeys = new();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user