Exemple #1
0
    public static void MarkForDestruction(SgtQuadsModel model)
    {
        if (model != null)
        {
            model.Quads = null;

            model.PoolMeshNow();

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

            model.PoolMeshNow();

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