// public GameObject effect;

    // Start is called before the first frame update


    private void Awake()
    {
        if (instance == null)
        {
            instance = this;
        }
    }
Beispiel #2
0
 // Start is called before the first frame update
 void Awake()
 {
     if (CsEffectManager.instance == null)
     {
         CsEffectManager.instance = this;
     }
 }