public NodeEditor(NodeEditorWindow w) { backColor = ColorExtensions.From255(59, 62, 74); knobColor = ColorExtensions.From255(126, 186, 255); guideColor = Color.gray; guideColor.a = 0.3f; _gridTex = TextureLib.GetTexture("Grid"); _backTex = TextureLib.GetTexture("Square"); _circleTex = TextureLib.GetTexture("Circle"); _window = w; }
// TODO: Call after exiting playmode. private void updateTextures() { _knobTex = TextureLib.GetTintTex("Circle", knobColor); _headerTex = TextureLib.GetTintTex("Square", ColorExtensions.From255(79, 82, 94)); }