简体   繁体   中英

Serializable field value of Non-Roman Letter not working in Unity

[SerializeField] char _letter = 'a';

is working fine, assignable from the inspector

[SerializeField] char _letter = 'অ';

Unity just hangs. Any suggestions?

["

You can use the character code to declare the char instead.<\/i>

private char bengaliA = '\u0985';

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM