Example #1
0
        void RemoveFromDefaultPointLights()
        {
            PointLightsImageEffect imageEffect = DefaultInstance <PointLightsImageEffect> .Get();

            if (imageEffect != null)
            {
                imageEffect.Remove(this);
            }
        }
Example #2
0
        void AddToDefaultPointLights()
        {
            PointLightsImageEffect imageEffect = DefaultInstance <PointLightsImageEffect> .Get();

            if (imageEffect != null)
            {
                imageEffect.Add(this);
            }
        }