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