The Create Files - Propolly-GDS is a Unity asset designed to streamline the process of generating various types of files directly within your Unity projects.This package Newtonsoft.JsonOverviewThe Create Files Tool - PropollyGDS is a Unity asset designed to streamline the process of generating various types of files directly within your Unity projects. This tool eliminates repetitive tasks, provides intuitive customization options, and ensures error-free file generation, saving developers time and effort.With a simple right-click menu, you can:Create text files with custom content and encoding options.Generate C# classes with specific setups, namespaces, and modifiers.Convert JSON files into structured C# classes.Build C# scripts from UXML files for seamless UI integration.Key Features1. Text File CreationEffortlessly generate text-based files with full customization options:File Naming: Choose the file name and directory path.File Extensions: Select from .txt, .json, .md, or add a custom extension like .yml or .rtf.Encoding Types: Choose between UTF-8, ASCII, and Unicode.Content Editor: Add custom content directly into the file at creation.2. C# Class GenerationQuickly set up C# classes with a range of configurable options:Class Name and Namespace: Automatically generated from the directory path or manually specified.Access Modifiers: Choose between public and internal.Class Types: Create regular classes, interfaces, structs, or enums.Setup Options: Preconfigure for MonoBehaviour, ScriptableObject, VisualElement, or standard C# classes.Class Modifiers: Add modifiers like abstract, static, sealed, or partial (with validation to prevent invalid combinations).Methods: Automatically include constructors or Unity lifecycle methods like Awake, Start, and Update.3. C# Classes from JSONSimplify the process of converting JSON data into usable C# classes:Drag-and-Drop Support: Drop a JSON file into the tool to extract its structure.Property Selection: Choose which fields to include in your classes.Customization: Set access modifiers, variable names, data types, getters, setters, and default values.Validation: Ensure data types and configurations are valid (e.g., no DateTime on a float).Nested Classes: Automatically handle nested JSON structures as separate classes.Real-Time Preview: See the generated C# code as you configure it.4. C# Scripts from UXMLAutomate the tedious process of linking UI Documents (UXML) to scripts:UXML Parsing: Reads your UXML file and extracts all visual elements.Component or Control: Specify the type of UI document being generated.Variable Generation: Automatically generates variables and the corresponding code to link them to the UI Document (e.g., _button = _root.Q("button-name");).Event Generation: Optionally generate event handlers for elements like buttons or sliders (e.g., _button.clickable.clicked += () => { /* Your Code */ };).Validation: Ensures proper linking and event generation for Unity's VisualElement types.Real-Time Code Preview: See the generated code as you configure it.BenefitsSaves Time: Automates repetitive tasks, allowing you to focus on actual development.Reduces Errors: Built-in validation ensures all configurations are valid and compatible.Flexible and Intuitive: Designed for both new and experienced Unity developers.Customizable Outputs: Tailor each file to your project’s specific needs.InstallationImport the Create Files Tool - PropollyGDS package into your Unity project.Right-click in the Project window and select Create File from the context menu.Choose a tab and start generating files.UsageText Files:Open the Text Files tab.Enter the file name and select a directory.Choose an extension and encoding type.Add optional content to the file.Click Create to generate the file.C# Classes:Open the C# Files tab.Enter the class name and specify options like namespace, access modifier, class type, and setup.Configure methods and modifiers as needed.Preview the output and click Create to generate the file.C# Classes from JSON:Open the C# Files from JSON tab.Drag-and-drop a JSON file or select it via the browser.Configure properties for each detected class.Preview the output and click Generate to create the files.C# Scripts from UXML:Open the C# Files from UXML tab.Drag-and-drop a UXML file or select it via the browser.Configure the type (Component/Control), variables, and events.Preview the output and click Generate to create the script.SupportIf you encounter any issues or have suggestions for new features, feel free to reach out via the Unity Asset Store support page or the provided contact information.