public void Remove(CustomGlasObj o) { m_GlasObjs.Remove(o); //Debug.Log("removed effect " + o.gameObject.name); }
public void Add(CustomGlasObj o) { Remove(o); m_GlasObjs.Add(o); //Debug.Log("added effect " + o.gameObject.name); }