private void OnTriggerEnter(Collider other) { if (GenClass != null) { GenClass.OnTriggerEnter(other); } }