public override void OnNodeEnable() { node = target as NodeTexture2D; matPreview = new GUIMaterialPreview(); }