Pull skin container and judge attachment to handler. (Amend)

This commit is contained in:
2022-11-19 22:13:17 +08:00
parent 46039f6a12
commit 373554912a

View File

@@ -89,7 +89,7 @@ namespace Cryville.Crtr.Event {
/// Called upon initialization of <see cref="cs" />.
/// </summary>
public virtual void Init() {
cs.skinContainer.MatchStatic(cs);
skinContainer.MatchStatic(cs);
foreach (var i in gogroup.GetComponentsInChildren<SkinComponent>())
i.Init();
}