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

        model.Cloudsphere = cloudsphere;

        return(model);
    }
コード例 #2
0
    public static SgtCloudsphereModel Create(SgtCloudsphere cloudsphere)
    {
        var model = SgtComponentPool<SgtCloudsphereModel>.Pop("Model", cloudsphere.transform);

        model.Cloudsphere = cloudsphere;

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

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

            CheckUpdateCalls();
        }
    }