Giter Site home page Giter Site logo

unitygptools's Introduction

Unity GPTools

A collection of Unity Editor Tools that utilize ChatGPT to do interesting things.

How to Use

Bring the Editor folder into your project. All the tools should show up in the top bar under Tools -> GPT.

The editor windows included are built with Odin Inspector, so you'll need to install that if you want to just drop these tools into an existing project.

You will need an OpenAI API Key to talk with ChatGPT through Unity. Paste your key into the API Key field of the OpenAI object in the Editor/Core/OpenAI folder.

Tested with Unity 2021.3

Tools

Gradient Generator

Gradient Generator Window

Generates a Unity Gradient from a prompt. Both the prompt and temp(erature) affect the resulting colors from GPT, while the Soft Gradient checkbox determines how the colors are organized in the gradient object.

Chat Box

Chat Box Window

A simple interface for using ChatGPT like you would on the website. This uses data streaming to generate the text token-by-token in realtime, just like the site does! Each message sends the entire message chain to the API (this is how followup questions retain context), which means each followup question sent is more expensive.

It also allows selecting text from the AI responses in case you want to copy/paste from it.

Regex Pattern Generator

Regular Expression Generator Window

This one is a bit hit-or-miss, but it's really great when it works! Just input a full text sample and the desired regex-patter-match output and hit generate.

It should create a preview of the regex pattern text, and you can quickly test it on the example text box by hitting the 'Test Regex' button.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.