Skip to content

Instantly share code, notes, and snippets.

View nnrucn's full-sized avatar
🤒
Out sick

nnrucn nnrucn

🤒
Out sick
  • 淳安林梓涛科技工作室
  • 潮州市牌坊街
View GitHub Profile
@nnrucn
nnrucn / LocalizeComponent_TMProExtension.cs
Created February 22, 2022 15:27 — forked from xrdnk/LocalizeComponent_TMProExtension.cs
TextMeshProUGUI コンポーネントに「LocalizeStringEvent」と「LocalizedTmpFontEvent」を Update Asset イベントに必要なプロパティを設定した上でアタッチしてくれるエディタ拡張
using System;
using TMPro;
using UnityEditor;
using UnityEditor.Events;
using UnityEngine.Events;
using UnityEngine.Localization.Components;
namespace xrdnk.Editor
{
/// <summary>