Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Utilities
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/9
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.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Additional compatibility information

This package Newtonsoft.Json

Description

Overview

The 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 Features

1. Text File Creation

Effortlessly 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 Generation

Quickly 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 JSON

Simplify 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 UXML

Automate 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>("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.

Benefits

  • Saves 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.

Installation

  1. Import the Create Files Tool - PropollyGDS package into your Unity project.
  2. Right-click in the Project window and select Create File from the context menu.
  3. Choose a tab and start generating files.

Usage

Text Files:

  1. Open the Text Files tab.
  2. Enter the file name and select a directory.
  3. Choose an extension and encoding type.
  4. Add optional content to the file.
  5. Click Create to generate the file.

C# Classes:

  1. Open the C# Files tab.
  2. Enter the class name and specify options like namespace, access modifier, class type, and setup.
  3. Configure methods and modifiers as needed.
  4. Preview the output and click Create to generate the file.

C# Classes from JSON:

  1. Open the C# Files from JSON tab.
  2. Drag-and-drop a JSON file or select it via the browser.
  3. Configure properties for each detected class.
  4. Preview the output and click Generate to create the files.

C# Scripts from UXML:

  1. Open the C# Files from UXML tab.
  2. Drag-and-drop a UXML file or select it via the browser.
  3. Configure the type (Component/Control), variables, and events.
  4. Preview the output and click Generate to create the script.

Support

If 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.

Propolly GDS: Create Files - Editor Window

(not enough ratings)
$5
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
326.5 KB
Latest version
1.0.2
Latest release date
Jan 7, 2025
Original Unity version
6000.0.32
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR