Class AdaptivePerformanceUIExtension
Implements
Inherited Members
Namespace: UnityEditor.AdaptivePerformance.Editor
Assembly: Unity.AdaptivePerformance.Simulator.Extension.dll
Syntax
public class AdaptivePerformanceUIExtension : DeviceSimulatorPlugin, ISerializationCallbackReceiver
Properties
title
Title for the plug-in UI.
Declaration
public override string title { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
OnAfterDeserialize()
Implement this method to receive a callback after Unity deserializes your object.
Declaration
public void OnAfterDeserialize()
OnBeforeSerialize()
Implement this method to receive a callback before Unity serializes your object.
Declaration
public void OnBeforeSerialize()
OnCreateUI()
The VisualElement that this method returns is embedded in the Device Simulator window. If the method returns null, plug-in UI is not embedded.
Declaration
public override VisualElement OnCreateUI()
Returns
Type | Description |
---|---|
VisualElement |