private void ResetExperimentGUI()
{
//print("Resetting GUI...");
if (SkinStored != null)
{
SkinStored.box.normal = StyleDefault;
SkinStored.box.normal.background = GameDatabase.Instance.GetTexture("CactEye/Icons/ExperimentGUIBackground", false);
SkinStored.box.fixedWidth = 0f;
SkinStored.box.fixedHeight = 0f;
SkinStored.window.fixedWidth = 400f;
}
else
{
Debug.Log("CactEye 2: Logical Error 3: SkinStored is null!");
}
ScienceStyle.fixedHeight = 0f;
ScienceStyle.fixedWidth = 0f;
}
#endregion
}
}
Can someone tell me what's wrong here?