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.
Stay organized with collections Save and categorize content based on your preferences.

Google.Maps.Feature.Style.Attachment.StyleAttachment

Attaches styling settings to any MapsService components residing on the same GameObject.

Summary

Inheritance

Inherits from: MonoBehaviour

Public attributes

AreaWaterStyleSettings
Style settings for area water features.
ExtrudedStructureStyleSettings
Style settings for extruded structure features.
LineWaterStyleSettings
Style settings for line water features.
ModeledStructureStyleSettings
Style settings for modeled structure features.
RegionStyleSettings
Style settings for region features.
SegmentStyleSettings
Style settings for segment features.

Public functions

GetSettings()
IEnumerable< AbstractStyleSettings >
Enumerate all of the attached AbstractStyleSettings instances.
UpdateGameObjectOptions(GameObjectOptions gameObjectOptions)
void
Update a GameObjectOptions instance with the style settings attached to this attachment.

Public attributes

AreaWaterStyleSettings

AreaWaterStyleSettings AreaWaterStyleSettings

Style settings for area water features.

ExtrudedStructureStyleSettings

ExtrudedStructureStyleSettings ExtrudedStructureStyleSettings

Style settings for extruded structure features.

LineWaterStyleSettings

LineWaterStyleSettings LineWaterStyleSettings

Style settings for line water features.

ModeledStructureStyleSettings

ModeledStructureStyleSettings ModeledStructureStyleSettings

Style settings for modeled structure features.

RegionStyleSettings

RegionStyleSettings RegionStyleSettings

Style settings for region features.

SegmentStyleSettings

SegmentStyleSettings SegmentStyleSettings

Style settings for segment features.

Public functions

GetSettings

IEnumerable< AbstractStyleSettings > GetSettings()

Enumerate all of the attached AbstractStyleSettings instances.

Details
Returns
An enumerator for all of the attached AbstractStyleSettings instances.

UpdateGameObjectOptions

void UpdateGameObjectOptions(
  GameObjectOptions gameObjectOptions
)

Update a GameObjectOptions instance with the style settings attached to this attachment.

Details
Parameters
gameObjectOptions
The GameObjectOptions to update.