internal LightPatch(UnityEngine.Light light) { Enabled = light.enabled; Type = UtilMethods.ConvertEnum <LightType, UnityEngine.LightType>(light.type); Color = new ColorPatch(light.color); Range = light.range; Intensity = light.intensity; SpotAngle = light.spotAngle; }
internal TextPatch(IText text) { Enabled = text.Enabled; Contents = text.Contents; Height = text.Height; PixelsPerLine = text.PixelsPerLine; Anchor = text.Anchor; Justify = text.Justify; Font = text.Font; Color = new ColorPatch(text.Color); }