public static SgtSkysphereModel Create(SgtSkysphere skysphere)
    {
        var model = SgtComponentPool<SgtSkysphereModel>.Pop("Model", skysphere.gameObject.layer, skysphere.transform);

        model.Skysphere = skysphere;

        return model;
    }
Exemple #2
0
    public static SgtSkysphereModel Create(SgtSkysphere skysphere)
    {
        var model = SgtComponentPool <SgtSkysphereModel> .Pop(skysphere.transform, "Model", skysphere.gameObject.layer);

        model.Skysphere = skysphere;

        return(model);
    }