void Start() { Instance = this; ROOT_PATH = KSPUtil.ApplicationRootPath; smallButtonStyle = new GUIStyle(HighLogic.Skin.button); smallButtonStyle.stretchHeight = false; smallButtonStyle.fixedHeight = 20f; smallScrollBar = new GUIStyle(HighLogic.Skin.verticalScrollbar); smallScrollBar.fixedWidth = 8f; }
void Start() { Instance = this; ROOT_PATH = KSPUtil.ApplicationRootPath; smallButtonStyle = new GUIStyle(HighLogic.Skin.button); smallButtonStyle.stretchHeight = false; smallButtonStyle.fixedHeight = 20f; smallScrollBar = new GUIStyle(HighLogic.Skin.verticalScrollbar); smallScrollBar.fixedWidth = 8f; MOD = Assembly.GetAssembly(typeof(EvaFuelManager)).GetName().Name; settingsRect = new Rect(200, 200, 275, 400); scrollPosition1 = Vector2.zero; }