private void Awake() { //effs = transform.GetComponents<GameObject>(); curEffName = new string[effs.Length]; instance = this; }
//void OnApplicationQuit() //{ // instance = null; //} private void OnDestroy() { instance = null; }
private void Awake() { //effs = transform.GetComponents<GameObject>(); curEffName = new string[effs.Length]; instance = this; }
//void OnApplicationQuit() //{ // instance = null; //} private void OnDestroy() { instance = null; }