Example #1
0
    public static SgtCloudsphereModel Create(SgtCloudsphere cloudsphere)
    {
        var model = SgtComponentPool <SgtCloudsphereModel> .Pop("Model", cloudsphere.gameObject.layer, cloudsphere.transform);

        model.Cloudsphere = cloudsphere;

        return(model);
    }
    public static SgtCloudsphereModel Create(SgtCloudsphere cloudsphere)
    {
        var model = SgtComponentPool<SgtCloudsphereModel>.Pop("Model", cloudsphere.transform);

        model.Cloudsphere = cloudsphere;

        return model;
    }
Example #3
0
	public static SgtCloudsphereModel Create(SgtCloudsphere cloudsphere)
	{
		var model = SgtComponentPool<SgtCloudsphereModel>.Pop("Model", cloudsphere.transform);
		
		model.Cloudsphere = cloudsphere;
		
		return model;
	}
Example #4
0
    protected virtual void Start()
    {
        if (startCalled == false)
        {
            startCalled = true;

            if (Cloudsphere == null)
            {
                Cloudsphere = GetComponent <SgtCloudsphere>();
            }

            CheckUpdateCalls();
        }
    }