示例#1
0
 private void OnDestroy()
 {
     if (Prefabs.Instance == this)
     {
         Prefabs.Instance = null;
     }
 }
示例#2
0
 private void Awake()
 {
     Prefabs.Instance = this;
 }
示例#3
0
 private void Awake()
 {
     Prefabs.Instance = this;
 }