Exemple #1
0
        public void LayoutedHoverButton()
        {
            Application.IsRunningInUnitTest = true;
            Application.Init();

            var form = new MainForm();

            Application.Run(form, () =>
            {
                if (GUILayout.HoverButton("Active when hovered"))
                {
                    Log.Msg("Active");
                }
            });
        }