Ejemplo n.º 1
0
        static Texture GetFalloffLookupTexture()
        {
            if (s_FalloffLookupTexture == null)
            {
                s_FalloffLookupTexture = Light2DLookupTexture.CreateFalloffLookupTexture();
            }

            return(s_FalloffLookupTexture);
        }
Ejemplo n.º 2
0
        static Texture GetLightLookupTexture()
        {
            if (s_LightLookupTexture == null)
            {
                s_LightLookupTexture = Light2DLookupTexture.CreatePointLightLookupTexture();
            }

            return(s_LightLookupTexture);
        }