Exemplo n.º 1
0
        public override void OnInspectorGUI(UMakeBuildActionEditor editor)
        {
            base.OnInspectorGUI(editor);

            using (new BoxGroup("Shared Settings"))
            {
                using (new Horizontal())
                {
                    steamSdkPath.Value = EditorGUILayout.TextField("Steam SDK Folder", steamSdkPath.Value);
                    if (GUILayout.Button("Change", GUILayout.Width(64.0f)))
                    {
                        string path = EditorUtility.OpenFolderPanel("Steam SDK Folder Path", steamSdkPath.Value, "");
                        if (!string.IsNullOrEmpty(path))
                        {
                            steamSdkPath.Value = path;
                        }
                    }
                }

                steamUsername.Value = EditorGUILayout.TextField("Steam Username", steamUsername.Value);
                steamPassword.Value = EditorGUILayout.PasswordField("Steam Password", steamPassword.Value);
            }

            GUILayout.FlexibleSpace();
        }
Exemplo n.º 2
0
 public virtual void OnInspectorGUI(UMakeBuildActionEditor editor)
 {
     editor.DrawBaseInspectorGUI();
 }