Пример #1
0
 private void OnEnable()
 {
     if (Instance == null)
     {
         Instance = this;
     }
     else if (Instance != null)
     {
         Destroy(Instance.gameObject);
     }
     Reset();
 }
Пример #2
0
 private void Start()
 {
     type2Instance = TooltipType2.Instance;
     type1Instance = TooltipType1.Instance;
 }