public static void MarkForDestruction(SgtQuadsModel model) { if (model != null) { model.Quads = null; model.PoolMeshNow(); model.gameObject.SetActive(true); } }
public static void Pool(SgtQuadsModel model) { if (model != null) { model.Quads = null; model.PoolMeshNow(); SgtComponentPool <SgtQuadsModel> .Add(model); } }