Example #1
0
            public ControllUpdaterActivity() : base(null)
            {
                _toggle = new ControllToggle("", false);
                var obj = new ControllObjectFieldAccess <Object>("", () => UpdaterStateInstance.Updater as Object,
                                                                 t => { });

                _toggle.AddLayoutOptions(GUILayout.MaxWidth(20));

                _layout = new ControllHorizontalLayout("CN Box", _toggle, obj);
                _layout.AddLayoutOptions(GUILayout.MaxHeight(20));
                _layout.AddLayoutOptions(GUILayout.MinHeight(20));
            }