optimization and obsoleted fixes
This commit is contained in:
1 parent
7ed1f92334
commit
5493aebd8f
45 files changed
+4
-1743
No files matched your search
@@ -27,7 +27,7 @@
|
||||
{
|
||||
foreach (var t in _types)
|
||||
{
|
||||
_tempId = ve.GameObject.GetInstanceID() + t.Type.FullName;
|
||||
_tempId = ve.GameObject.GetEntityId() + t.Type.FullName;
|
||||
if (!_scripts.Contains(_tempId))
|
||||
{
|
||||
ve.GameObject.AddComponent(t.Type);
|
||||
|
||||
Reference in new issue
Block a user