private void OnCollisionStay2D(Collision2D collision) { if (GenClass != null) { GenClass.OnCollisionStay2D(collision); } }