Ejemplo n.º 1
0
    public static void MarkForDestruction(SgtQuadsModel model)
    {
        if (model != null)
        {
            model.Quads = null;

            model.PoolMeshNow();

            model.gameObject.SetActive(true);
        }
    }
Ejemplo n.º 2
0
    public static void Pool(SgtQuadsModel model)
    {
        if (model != null)
        {
            model.Quads = null;

            model.PoolMeshNow();

            SgtComponentPool <SgtQuadsModel> .Add(model);
        }
    }