Created
January 26, 2022 14:50
-
-
Save xrdnk/711211ef15f7bccf25fb3030ff299adf to your computer and use it in GitHub Desktop.
TMP_FontAsset 用の LocalizedAssetEvent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using TMPro; | |
using UnityEngine; | |
using UnityEngine.Events; | |
using UnityEngine.Localization; | |
using UnityEngine.Localization.Components; | |
namespace xrdnk | |
{ | |
/// <summary> | |
/// TmpFontAsset 用の LocalizedAssetEvent | |
/// </summary> | |
[AddComponentMenu("Localization/Asset/" + nameof(LocalizedTmpFontEvent))] | |
public class LocalizedTmpFontEvent : LocalizedAssetEvent<TMP_FontAsset, LocalizedTmpFont, UnityEventTmpFont> {} | |
/// <summary> | |
/// TmpFontAsset を引数とする Unity Event | |
/// </summary> | |
[Serializable] | |
public class UnityEventTmpFont : UnityEvent<TMP_FontAsset> {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment