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

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

            return(s_LightLookupTexture);
        }