Exemple #1
0
 private void OnDestroy()
 {
     current = null;
 }
Exemple #2
0
    // Start is called before the first frame update

    private void Awake()
    {
        current = this;
    }