mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
[BetterShadowClone] Fukg
This commit is contained in:
parent
c4099d90a0
commit
540dc679fe
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ public static class ShadowCloneHelper
|
||||||
&& exclusionTargets[transform] != exclusion) return; // found other exclusion root
|
&& exclusionTargets[transform] != exclusion) return; // found other exclusion root
|
||||||
|
|
||||||
exclusion.affectedChildren.Add(transform); // associate with the exclusion
|
exclusion.affectedChildren.Add(transform); // associate with the exclusion
|
||||||
exclusionTargets.Add(transform, exclusion); // add to the list (yes theres duplicates)
|
exclusionTargets.TryAdd(transform, exclusion); // add to the dictionary (yes its wasteful)
|
||||||
|
|
||||||
foreach (Transform child in transform)
|
foreach (Transform child in transform)
|
||||||
ProcessExclusion(exclusion, child); // process children
|
ProcessExclusion(exclusion, child); // process children
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue