예제 #1
0
 void OnDestroy()
 {
     _instance = null;
 }
예제 #2
0
 static void FindInstance()
 {
     _instance = Object.FindObjectOfType <Canvas>().rootCanvas.GetComponentInChildren <LedSelector>(includeInactive: true);
 }