Exemple #1
0
 private void OnDestroy()
 {
     instance = null;
 }
Exemple #2
0
        private void Awake()
        {
            slider = GetComponent <Slider>();

            instance = this;
        }