Groups
Groups
Sign in
Groups
Groups
宴ユーザーグループ
Conversations
About
Send feedback
Help
キャラクターに任意の名前を付ける時に入力に文字数制限をしたい
156 views
Skip to first unread message
ハロ
unread,
Aug 22, 2021, 8:35:40 AM
8/22/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 宴ユーザーグループ
タイトル通りです、任意にキャラクターの名前の入力で名前が見切れない様に文字数制限をしたいのですがどうすればいいでしょうか?
■参考
SendMessageコマンドで名前入力を参考にちょっとしました。
http://madnesslabo.net/utage/?page_id=1823
マッドネスラボ
unread,
Aug 22, 2021, 6:50:43 PM
8/22/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 宴ユーザーグループ
InputField コンポーネントの「Character Limit」というので文字数制限できるはずです
https://docs.unity3d.com/ja/2018.4/ScriptReference/UI.InputField.html
サンプルで使っている InputField というコンポーネントはUnity公式のものなので、詳しはその使い方を調べてください。
Unityの基本的な使い方まではサポートできませんので、
「Unity InputField 文字数制限」とかでネット検索などすればたくさん情報が出てくると思います。
2021年8月22日日曜日 21:35:40 UTC+9
k013...@gmail.com
:
ハロ
unread,
Aug 22, 2021, 10:27:16 PM
8/22/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 宴ユーザーグループ
迅速な返答ありがとうございます、Unityはまだ未熟なもので教えていただきありがとうございます。
2021年8月23日月曜日 7:50:43 UTC+9 マッドネスラボ:
Reply all
Reply to author
Forward
0 new messages