GithubHelp home page GithubHelp logo

sheepcommander / godot-hider-node Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dark-peace/godot-hider-node

0.0 0.0 0.0 71 KB

A new Godot 4 node for less messy scenes. Add it as a child to a node and that node's children will only be visible in editor when you click on that node. And other similar behaviors.

License: MIT License

GDScript 100.00%

godot-hider-node's Introduction

Godot Hider Node image

Sick of having nodes you don't need all over your scenes ? You don't want to see them all but you don't want to have to toggle their visibility all the time ? This is for you ! Add it as a child to a parent node and that parent's children will only be visible in editor when you select a node inside that parent's subtree. + other similar behaviors. It works in any scene : 2D, 3D, Controls,...

Simple to use :

  1. Add the Hider to a parent node
  2. Enable the Hider by toggling the enabled property.

Now, all the nodes in the subtree, starting from the Hider's parent, will be "hidden" when you select a node outside that subtree. They will be shown again when selecting a node of that subtree or the parent node.

Nodes are hidden by changing their modulate value. However, the Hider stores the previous modulate values in its saved_states property, which is reverted back when the node is shown again.

It has a bunch of bonus properties to make your workflow even better, everything is detailed in the documentation

image

godot-hider-node's People

Contributors

dark-peace avatar shepchromebook avatar sheepcommander avatar ohyeahsoldier 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.