Пример #1
0
 private void OnDestroy()
 {
     _instance = null;
 }
Пример #2
0
 private void Awake()
 {
     _instance         = this;
     _contentTransform = GetComponent <ScrollRect>().content;
 }