private void OnEnable() { if (Instance == null) { Instance = this; } else if (Instance != null) { Destroy(Instance.gameObject); } Reset(); }
private void Start() { type2Instance = TooltipType2.Instance; type1Instance = TooltipType1.Instance; }