示例#1
0
 private void OnDestroy()
 {
     if (s_instance == this)
     {
         s_instance         = null;
         s_recognizedCamera = null;
     }
 }
示例#2
0
 private void Awake()
 {
     s_instance         = this;
     s_recognizedCamera = GetComponent <Camera>();
 }