コード例 #1
0
 private void Awake()
 {
     Debug.Assert(Instance == null, "There are multiple instances of DroppedWeaponsStore.");
     Instance = this;
 }
コード例 #2
0
 private void OnDestroy()
 {
     Instance = null;
 }