コード例 #1
0
 // Use this for initialization
 void Start()
 {
     Instance = this;
     DontDestroyOnLoad(this);
     InventoryMenu.enabled = false;
     StatsMenu.enabled     = false;
 }
コード例 #2
0
 private void Awake()
 {
     Instance = this;
 }