대화중 표정 수정
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();
|
||||
}
|
||||
|
||||
@@ -3,8 +3,15 @@
|
||||
[CreateAssetMenu(menuName = "Communication/Gesture")]
|
||||
public class GestureData : ScriptableObject
|
||||
{
|
||||
[HideInInspector] public int AnimationLayer = 0;
|
||||
[HideInInspector] public int AnimationLayer = 0; // 제스처: 보통 Body 레이어(0)
|
||||
|
||||
[Tooltip("구식 폴백 — Dlg 슬롯이 없는 컨트롤러에서 이 이름의 state로 CrossFade한다. " +
|
||||
"AnimClip 방식을 쓰면 비워도 됨")]
|
||||
public string StateName;
|
||||
|
||||
public float CrossFadeDuration = 0.2f;
|
||||
|
||||
[Tooltip("권장 — 채우면 이 레이어의 Dlg 슬롯에 이 클립을 꽂아 재생한다(컨트롤러 편집 불필요). " +
|
||||
"슬롯은 Tools/Dialog 메뉴로 컨트롤러에 자동 생성")]
|
||||
public AnimationClip AnimClip;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user