[Unityで学ぶC#] 5 文字の変数
目次
- 文字の代入
- 文字の足し算
まずはサンプル
文字列を使うときはstring
を使います.
また,文字列を使うときは「"」で囲わないといけないというルールがあります.
文字列を「+」で足し算すると,つながります.
使うタイミングの例
- スコアの表示
- タグの比較
- プレイヤー名の保存
Author And Source
この問題について([Unityで学ぶC#] 5 文字の変数), 我々は、より多くの情報をここで見つけました https://qiita.com/Teach/items/24fa4ef0cac57e5eca8f著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .