14 lines
248 B
C#
14 lines
248 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace CharacterSystem
|
|
{
|
|
[Serializable]
|
|
public struct Replica
|
|
{
|
|
public AudioClip clip;
|
|
public string text;
|
|
|
|
public float Duration => clip != null ? clip.length : 2;
|
|
}
|
|
} |