Vket Cloud SDKメモ

乗り物の実装

Discordの該当スレッドリンク

Discord - Group Chat That’s All Fun & Games
Discord is great for playing games and chilling with friends, or even building a worldwide community. Customize your own...

int→string変換

// int型の変数を定義
int score = 100;
// ToString()メソッドで文字列に変換
string scoreText = score.ToString();

// string()メソッドで文字列に変換
string scoreText2 = string(score);

参考:https://vrhikky.github.io/VketCloudSDK_Documents/13.7/hs/hs_casting.html#stringint

string→int変換

// string型の変数を定義
string scoreText = "100";
// ToInt()メソッドでintに変換
int score = scoreText.ToInt();

参考:https://vrhikky.github.io/VketCloudSDK_Documents/13.7/hs/hs_casting.html#toint

タイトルとURLをコピーしました