protected override void OnEnable()
{
base.OnEnable();
this.CacheCanvas();
GraphicRegistry.RegisterGraphicForCanvas(this.canvas, this);
GraphicRebuildTracker.TrackGraphic(this);
if (s_WhiteTexture == null)
{
s_WhiteTexture = Texture2D.whiteTexture;
}
this.SetAllDirty();
}