WienerWiener
  • Introduction
  • Comparison
  • Pricing
  • FAQ
  • Use Cases
  • License
  • Unity Asset vs Standalone
  • Obfuscation & Tamper Detection
  • Mismatch Detection & Debug
  • Localization
  • Versioning
  • Google Sheets Input
  • Excel
  • YAML
  • Settings
  • Data Format
  • Convert
  • ValueOnly Format
  • Startup
  • Samples
  • Converter
  • YAML Editor
  • Setting Editor
  • 日本語
  • English
  • Introduction
  • Comparison
  • Pricing
  • FAQ
  • Use Cases
  • License
  • Unity Asset vs Standalone
  • Obfuscation & Tamper Detection
  • Mismatch Detection & Debug
  • Localization
  • Versioning
  • Google Sheets Input
  • Excel
  • YAML
  • Settings
  • Data Format
  • Convert
  • ValueOnly Format
  • Startup
  • Samples
  • Converter
  • YAML Editor
  • Setting Editor
  • 日本語
  • English
  • YAML Editor

    • YAML Editor

YAML Editor

Overview

An EditorWindow for editing Wiener YAML files directly from Unity Editor.

The Unity Asset version supports local Excel input and Google Sheets URLs in header.input_path.

Launch

Open via Tools > Wiener > Open Yaml Editor in the menu bar.

Image from alias

Screen

Image from alias

Window Layout

AreaDescription
ToolbarRoot folder selection and status display
YAML TreeFolder/file tree view with search
Editor PaneEdit Header / Fields / Multi YAML Action
Preview PaneLive text preview of the YAML being edited

Toolbar

Image from alias

Root Folder

Specifies the root directory for YAML files.

Default: Assets/Wiener/Data/client/yaml

Click ... to open a folder dialog and change it.

Google Sheets Credential JSON

Specifies the service account credential JSON file used to read Google Sheets.

See Google Sheets Input setup for how to create the credential JSON file.

Click ... to select a JSON file.

Click Clear to remove the selected path.


YAML Tree

Image from alias

The left pane shows YAML files organized by folder.

  • Select a file: Click to select and edit in the right pane
  • Search: Type in the search field above the tree to show only matching YAML files. Parent folders are kept visible, so the folder structure remains readable after filtering.

Right-click Menu

ActionDescription
NewCreates a new YAML file in the selected folder
Create From InputAuto-generates Header and Fields from an Excel or Google Sheets sheet
RenameRenames the file
DuplicateDuplicates the file
Open ExternalOpens the file in the associated editor
DeleteDeletes the file (confirmation dialog shown)

Create From Input

Create From Input generates one YAML file from a selected Excel or Google Sheets sheet.

The Type Row accepts normal type names and Enum YAML names. To reference an Enum YAML, enter either its file name without the extension or its header.name. Only YAML files whose header.source_type is Enum are eligible, and matching is case-insensitive.

For example, if enum/item_type.yaml has header.name: ItemType, entering item_type or ItemType generates:

- key: ItemType
  name: item_type
  type: Foreignkey
  relation:
    yaml: enum/item_type.yaml
    from: From
    to: To

The generated from and to values preserve the actual From / from and To / to key names from the referenced Enum YAML. If no matching Enum YAML exists, the field is generated as type: String.


Header Editor

Edit the header: section of the YAML.

Image from alias

FieldDescription
base_typeNormal / NoOutput / MultiYamlAction / ManualOnly
input_pathList of local Excel input paths or Google Sheets URLs
sheetSheet name
rowData start row
source_typeNormal / Enum / Const / ConstSource
container_typeList / Dictionary / DictionaryList / WienerDictionary / WienerDictionaryList
output_pathOutput folder name
nameOutput name (used as class name and file name)
groupGroup name (C# only)
sortWhether to sort by the first key
encryptionWhether to obfuscate all fields
templatePHP template file name
manual_commentComment for manual output
composite_uniqueComposite unique check across multiple keys

See Header Definition for details.


Fields Editor

Edit the fields: section of the YAML.

Image from alias

Field List Operations

ButtonDescription
Add FieldAdds a new field
Delete FieldDeletes the selected field
Move Up / Move DownReorders fields

Field Parameters

FieldDescription
keyField key name (becomes C# property name)
nameExcel column name (snake_case recommended)
typeBool / Byte / Short / UShort / Int / UInt / Long / ULong / Float / Double / String / Enum / DateTime / Foreignkey
defaultDefault value when cell is empty
string_formatNumber format string for text output
commentComment written to source code
manual_commentComment written to manual output
localizeWhether the field is a localization target
encryptionWhether to apply memory obfuscation
manual_onlyWhether to output to manual only (not to data)
obsoleteWhether to mark the C# accessor as obsolete

Relation (Foreignkey)

Shown when type is Foreignkey.

FieldDescription
yamlPath to the referenced YAML (selectable from dropdown)
fromKey to search in the referenced YAML
toKey to use as the output value

Enum

Shown when type is Enum.

FieldDescription
enumEnum name (matches name of a YAML with source_type: Enum)
enum_valueKey to use as the enum value
enum_commentKey to use as the enum comment

Validate

Validation settings per field.

FieldDescription
uniqueDuplicate check
key_existData existence check against a single YAML
key_exists_yamlData existence check against multiple YAMLs
key_exists_yaml_conditionsConditional data existence check against multiple YAMLs
enum_existsChecks that all enum values are defined
rangeValue range check
string_lengthString length check

See Fields Definition for details.


Multi YAML Action Editor

Shown instead of the Fields Editor when base_type: MultiYamlAction.

Image from alias

ButtonDescription
Add ItemAdds a target YAML to the action
Delete ItemDeletes the selected item
Move Up / Move DownReorders items

Each item specifies the YAML to reference and the key to check.


Preview Pane

Displays a real-time text preview of the YAML being edited. Text is selectable and copyable.

Image from alias


Toolbar Buttons

ButtonDescription
SaveSaves the current file
Save AllSaves all files that have unsaved changes at once
ReloadReloads the file from disk

Keyboard Shortcuts

KeyAction
Ctrl + ZUndo
Ctrl + Shift + Z / Ctrl + YRedo
Ctrl + SSave
Ctrl + Shift + SSave All
Ctrl + NCreate a new YAML file in tree
Ctrl + DDuplicate selected file in tree
F2Rename selected file in tree
Delete / BackspaceDelete selected file in tree
Last Updated:: 6/10/26, 10:12 PM
Contributors: artisan-sawasaka