Ejemplo n.º 1
0
 private void Awake()
 {
     //effs = transform.GetComponents<GameObject>();
     curEffName = new string[effs.Length];
     instance   = this;
 }
Ejemplo n.º 2
0
    //void OnApplicationQuit()
    //{

    //    instance = null;

    //}

    private void OnDestroy()
    {
        instance = null;
    }