示例#1
0
        protected override void UpdateMenu(bool active)
        {
            Counter.update();
            CommandWindow.update(active && this.input_ready && CommandWindow.active);
            if (CommandWindow.is_cursor_moving)
            {
                HelpText.text = "";
            }
            if (HelpText.text == "" && !CommandWindow.is_cursor_moving)
            {
                refresh_text();
            }
            PressStartFlicker = (PressStartFlicker + 1) % 8;

            bool was_ready = ready;

            base.UpdateMenu(active);

            if (!was_ready && ready)
            {
                Global.game_system.Preparation_Events_Ready = true;
            }
        }
 public void update()
 {
     Counter.update();
     Left_Arrow.update();
     Right_Arrow.update();
 }