NOTICE: Google Maps Platform gaming services is deprecated as of October 18, 2021. Current users will have continued access until December 31, 2022. During this time, we will continue to provide support and fixes to major bugs and outages. See the Gaming Services Transition Guide for resources to help you plan the next steps for your projects.

Google.Maps.Feature.Style.Settings.RegionStyleSettings

Style settings scriptable object for area water styles.

Summary

Inheritance

Inherits from: Google.Maps.Feature.Style.Settings.AbstractStyleSettings

Public attributes

FillMaterial
Material
The material used to fill the area.
Outline
Specifies whether to draw the Area with an outline. The default value is false.

Protected functions

OnValidate()
virtual override void
Handle Unity's OnValidate event.

Public functions

Apply(RegionStyle style)
Apply settings to RegionStyle.

Public attributes

FillMaterial

Material FillMaterial

The material used to fill the area.

Outline

SegmentStyleSettings Outline

Specifies whether to draw the Area with an outline. The default value is false.

Protected functions

OnValidate

virtual override void OnValidate()

Handle Unity's OnValidate event.

Public functions

Apply

RegionStyle Apply(
  RegionStyle style
)

Apply settings to RegionStyle.

Details
Parameters
style
RegionStyle to apply settings to.
Returns
New RegionStyle with settings applied.