using UnityEngine; using UnityEditor; using UnityEngine.UIElements; using com.zibra.liquid.Foundation.UIElements; #if ZIBRA_LIQUID_PAID_VERSION using com.zibra.liquid.Editor.SDFObjects; #endif #if UNITY_2019_4_OR_NEWER namespace com.zibra.liquid.Plugins.Editor { internal class AboutTab : BaseTab { private VisualElement m_RegistrationBlock; #if ZIBRA_LIQUID_PAID_VERSION private TextField m_AuthKeyInputField; private Button m_CheckAuthKeyBtn; private Button m_RegisterAuthKeyBtn; private Label m_InvalidKeyLabel; private Label m_RegisteredKeyLabel; #endif const int KEY_LENGTH = 36; public AboutTab() : base($"{ZibraAIPackage.UIToolkitPath}/AboutTab/AboutTab") { m_RegistrationBlock = this.Q("registrationBlock"); #if ZIBRA_LIQUID_PAID_VERSION m_AuthKeyInputField = this.Q("authKeyInputField"); m_CheckAuthKeyBtn = this.Q