Scripting API ContextType enum in UnityEngine.UIElements · UnityEngine.UIElementsModule2 of 2 of Unity's membersUnity's documentation Values 2Editor = 1Player = 0