private void CreateBasicMenu() { var tab = uiCreator.AddTab(15, 21.2f, "main"); tab.AddTitle(2f, 1f, 350f, "Widoczność"); tab.AddVisibilityManager(2.05f, 3f, "Czaszka", 240f, activeImage, inactiveImage, skull, skullMaterial); tab.AddVisibilityManager(2.05f, 6.5f, "Mózg", 180f, activeImage, inactiveImage, brain, brainMaterial); tab.AddVisibilityManager(2.05f, 10f, "Naczynia", 250f, activeImage, inactiveImage, veins, veinsMaterial); tab.AddVisibilityManager(2.05f, 13.5f, "Nerwy", 190f, activeImage, inactiveImage, nerves, nervesMaterial); tab.AddVisibilityManager(2.05f, 17f, "Oczy", 180f, activeImage, inactiveImage, eyes, eyesMaterial); }