class TextKey
{
public static string GetPreLoadText(string _text_key) { ... }
public static string GetText(string _text_key) { ... }
}
전역함수를 인스펙터에서 스크립트 콜백에 연결해주고 싶은데,, 방법을 모르겠어요.. ㅜㅠ
class SampleScript : Monobehavior (수정완료)
{
public Func<string, string> m_text_key_to_text = null; // 인스펙터에서 이 콜백에 전역함수를 걸어주고 싶습니다..
}
방법이 없거나 쉬운 문법일거 같은데.. 구글링 해도 못찾겠습니다 도와주세여~~