Pull skin container and judge attachment to handler. (Amend)
This commit is contained in:
@@ -89,7 +89,7 @@ namespace Cryville.Crtr.Event {
|
|||||||
/// Called upon initialization of <see cref="cs" />.
|
/// Called upon initialization of <see cref="cs" />.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual void Init() {
|
public virtual void Init() {
|
||||||
cs.skinContainer.MatchStatic(cs);
|
skinContainer.MatchStatic(cs);
|
||||||
foreach (var i in gogroup.GetComponentsInChildren<SkinComponent>())
|
foreach (var i in gogroup.GetComponentsInChildren<SkinComponent>())
|
||||||
i.Init();
|
i.Init();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user