Comments (6)
The documentation for the function explicitly mentions that it creates the tag if it doesn't exist.
from flaxengine.
Didn't realize that it "Gets or adds the tag." but nonetheless, it should only get a define tag instead of creating an undefined one
from flaxengine.
Didn't realize that it "Gets or adds the tag." but nonetheless, it should only get a define tag instead of creating an undefined one
It's used internally for this but I can agree it could be separated.
from flaxengine.
We could add FindTag
that would return empty tag if it not exists. But the idea here is that tags can be created no only from a single Layers and tags asset but from Prefabs/Levels/Code to improve usability of this system. Under the hood tags are just uint32
so using them in code is very performance. Finally, tags have nice integration in Editor thus are good for Designers to play with setups of maps/gameplay/etc.
from flaxengine.
We could add
FindTag
that would return empty tag if it not exists. But the idea here is that tags can be created no only from a single Layers and tags asset but from Prefabs/Levels/Code to improve usability of this system. Under the hood tags are justuint32
so using them in code is very performance. Finally, tags have nice integration in Editor thus are good for Designers to play with setups of maps/gameplay/etc.
The FindTag would be a nice addition. So I guess this wouldnt be an issue but a suggestion. I will rename this into a suggestion instead then
from flaxengine.
Added in 5e5497f
from flaxengine.
Related Issues (20)
- Support for Animating skeleton bones HOT 2
- [Proposal] Change default tool hotkeys to industry standard WER
- The sprite's names doesn't update after change in sprite atlas
- Pasting previously copied sprites does not work in sprite atlas
- Render actor icons in viewport at constant size HOT 4
- Add Video backend for Linux HOT 3
- [Suggestion] Directional Light Cookie
- [Suggestion] Render Texture Asset Type HOT 1
- QoL - Consistent unit of measurement on character controller HOT 1
- Importing normals of fbx meshes done in Blender 4.x broken HOT 1
- TextBox: Wrong text highlights with center and far horizontal alignment
- [ Feature Request ] Add option to apply specific change on prefab HOT 1
- [Suggestion] Material Function Input Ordering
- Third-Party Libraries Failing to Load Assemblies in Cooked Game HOT 1
- Adding a newline into a `[Header]` attribute cuts off the displayed text
- Issues with selecting a csg brush in the viewport
- EXR file import crashes the editor
- [Feature Request] Change SDF distance without enabling DDGI
- [Bug?] Something is wrong with the graphics HOT 5
- [Feature Request] Import multiple UV Channels
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flaxengine.