Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
constの例
public static class TodoStaticClass
{
public const string name = "todo";
}
// 別のクラスで呼ぶ
Debug.Log(TodoStaticClass.name);
Debug.Log("todo");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment