コード例 #1
0
            public ControlWithDescription(MyStringId control)
            {
                MyControl c = MyInput.Static.GetGameControl(control);

                BoundButtons = null;
                c.AppendBoundButtonNames(ref BoundButtons, unassignedText: MyInput.Static.GetUnassignedName());
                Description = MyTexts.Get(c.GetControlDescription() ?? c.GetControlName());
                LeftFont    = MyFontEnum.Red;
                RightFont   = MyFontEnum.White;
            }