Created
October 25, 2022 17:55
-
-
Save saitocastel1900/403d6bb05c17fd204404f939905bfd0e to your computer and use it in GitHub Desktop.
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
private static Lazy<Singleton3> _instance = new Lazy<Singleton3>(); | |
public static Singleton3 Instance => _instance.Value; | |
public Singleton3() | |
{ | |
Debug.Log("コンストラクターが呼び出されました"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment