// public GameObject effect; // Start is called before the first frame update private void Awake() { if (instance == null) { instance = this; } }
// Start is called before the first frame update void Awake() { if (CsEffectManager.instance == null) { CsEffectManager.instance = this; } }