avatar label helper
This commit is contained in:
parent
40fff9bba3
commit
6031db6620
7 changed files with 171 additions and 0 deletions
22
AviLabels/LabelConfig.cs
Normal file
22
AviLabels/LabelConfig.cs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
namespace gay.lilyy.AviLabels
|
||||
{
|
||||
[AddComponentMenu("LillithRosePup/Avatar Label/Config")]
|
||||
public class LabelConfig : MonoBehaviour, VRC.SDKBase.IEditorOnly
|
||||
{
|
||||
public string overrideName;
|
||||
public Color color;
|
||||
public TMP_FontAsset font;
|
||||
|
||||
internal static LabelConfig GetDefault()
|
||||
{
|
||||
return new LabelConfig {
|
||||
overrideName = "",
|
||||
color = Color.white,
|
||||
font = null
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue