Class LocalizedGameObjectEvent
Component that can be used to Localize a Prefab. When the Locale is changed the prefab will be instantiated as a child of the gameobject this component is attached to, the instance will then be sent through OnUpdateAsset.
Inheritance
LocalizedGameObjectEvent
Inherited Members
Namespace: UnityEngine.Localization.Components
Syntax
public class LocalizedGameObjectEvent : LocalizedAssetEvent<GameObject, LocalizedGameObject, UnityEventGameObject>
Methods
UpdateAsset(GameObject)
Declaration
protected override void UpdateAsset(GameObject localizedAsset)
Parameters
Type | Name | Description |
---|---|---|
GameObject | localizedAsset |
Overrides
UnityEngine.Localization.Components.LocalizedAssetEvent<GameObject, UnityEngine.Localization.LocalizedGameObject, UnityEngine.Localization.Events.UnityEventGameObject>.UpdateAsset(GameObject)