-
-
Save todorok1/92336f6deffe46d3081b3c83c928c0bb to your computer and use it in GitHub Desktop.
constの例
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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