GithubHelp home page GithubHelp logo

avatarchik / dtprefabsandbox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from darrentsung/dtprefabsandbox

0.0 2.0 0.0 179 KB

Edit Prefabs quickly - in a sandbox!

License: MIT License

C# 100.00%

dtprefabsandbox's Introduction

DTPrefabSandbox

Edit and validate Prefabs quickly - in a sandbox!

To install:

Clone the git repository and add the entire folder to your Unity project.

Supported Versions:

Tested on Unity 5.4. It will probably work on other similar versions..

Features:

Sandbox

Instead of dragging prefabs out into the scene to edit them, open them in a prefab sandbox!

DTPrefabSandbox will instantiate the prefab into a sandbox scene. You can customize the sandbox scene by creating a prefab named PrefabSandboxSetupPrefab in the project.

Validation

DTPrefabSandbox will also run a GameObject validator to find missing outlets (serialized fields that must be filled in with UnityEngine.Component). By default all outlets are required (and will fail validation if missing), but you can make an outlet as optional with the Optional attribute!

public class ExampleMonoBehaviour : MonoBehaviour {
  [SerializeField] private Image _image;

  [SerializeField, Optional] private Image _optionalImage;
}

How To Use:

  1. Open DTCommandPalette with %t (Cmd-T on Mac / Ctrl-T on Windows)
  • Search for your Prefab and press enter

or

  1. Search through the project window for your prefab
  • Double-click on the prefab

Edit the prefab, then press "Save and Exit"!

Screenshot

dtprefabsandbox's People

Contributors

darrentsung avatar

Watchers

 avatar  avatar

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.