We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78482be commit 7ee9ca0Copy full SHA for 7ee9ca0
Taggable.cs
@@ -6,7 +6,7 @@
6
7
namespace ToolBox.Tags
8
{
9
- [DisallowMultipleComponent]
+ [DisallowMultipleComponent, DefaultExecutionOrder(-150)]
10
public sealed class Taggable : MonoBehaviour
11
12
[SerializeField, Required, AssetList] private Tag[] _tags = default;
@@ -24,6 +24,9 @@ private void Awake()
24
#endif
25
26
_hash = gameObject.GetHashCode();
27
+
28
+ for (int i = 0; i < _tags.Length; i++)
29
+ _tags[i].Add(_hash);
30
}
31
32
private void OnEnable()
0 commit comments