void OnEnable()
{
if (Application.isPlaying)
{
if (this.container == null)
{
CreateContainer();
if (!string.IsNullOrEmpty(packagePath) && UIPackage.GetByName(packageName) == null)
UIPackage.AddPackage(packagePath);
}
else
this.container._disabled = false;
}
else
{
EMRenderSupport.Add(this);
}
}