Skip to content

Commit 329cee8

Browse files
committed
remove redundant code
1 parent be3cbce commit 329cee8

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

UnityWeld/Binding/Template.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,5 @@ public void InitChildBindings(object viewModel)
8686
this.viewModel = viewModel;
8787
SetBindings(true);
8888
}
89-
90-
public const string TemplatesContainerName = "_templates";
9189
}
9290
}

UnityWeld/BindingHelpers.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@ public static IEnumerable<T> IterateComponents<T>(GameObject view, bool skipCurr
3939
{
4040
var transform = stack.Pop();
4141

42-
//ignore containers with templates
43-
if (string.Equals(transform.name, Template.TemplatesContainerName, StringComparison.OrdinalIgnoreCase))
44-
{
45-
continue;
46-
}
47-
4842
var component = transform.GetComponent<T>();
4943
if (component != null)
5044
{

0 commit comments

Comments
 (0)