Table of Contents

Class DeploymentEnvironmentNamePropertyDrawer

Namespace
CodeBase
Assembly
4Experience.CodeBase.Core.Editor.dll

This custom property drawer is used to draw a deployment environment name string field as dropdown in the Unity inspector. Based on the DeploymentEnvironmentNameAttribute attribute.

[CustomPropertyDrawer(typeof(DeploymentEnvironmentNameAttribute))]
public class DeploymentEnvironmentNamePropertyDrawer : BasePropertyDrawer
Inheritance
GUIDrawer
PropertyDrawer
DeploymentEnvironmentNamePropertyDrawer
Inherited Members
Extension Methods

Methods

OnGUI(Rect, SerializedProperty, GUIContent)

public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)

Parameters

position Rect
property SerializedProperty
label GUIContent