コード例 #1
0
 void OnDestroy()
 {
     s_Instance = null;
 }
コード例 #2
0
 // Use this for initialization
 void Awake()
 {
     s_Instance = this;
 }