Optimize GC for enumeration in context cascade insertion.
This commit is contained in:
@@ -168,8 +168,8 @@ namespace Cryville.Crtr {
|
||||
}
|
||||
public class SkinContext {
|
||||
public Transform Transform { get; private set; }
|
||||
public IReadOnlyDictionary<int, PropSrc> PropSrcs { get; private set; }
|
||||
public SkinContext(Transform transform, IReadOnlyDictionary<int, PropSrc> propSrcs = null) {
|
||||
public IntKeyedDictionary<PropSrc> PropSrcs { get; private set; }
|
||||
public SkinContext(Transform transform, IntKeyedDictionary<PropSrc> propSrcs = null) {
|
||||
Transform = transform;
|
||||
PropSrcs = propSrcs;
|
||||
}
|
||||
|
Reference in New Issue
Block a user