コード例 #1
0
 public ConsoleMessagesPanel(ConsoleView consoleView) : base(consoleView)
 {
     Console.OnMessage.AddListener(AddMessage);
     m_RenderRect = new Rect();
 }
コード例 #2
0
 public ConsoleDetailsPanel(ConsoleView consoleView) : base(consoleView)
 {
     m_Title = new GUIContent(TITLE);
 }
コード例 #3
0
 public ConsoleHintPanel(ConsoleView consoleView) : base(consoleView)
 {
     Hint.OnHintChanged.AddListener(HintChangedHandler);
     HintChangedHandler(Hint.Current);
 }
コード例 #4
0
        public ConsoleInputPanel(ConsoleView consoleView) : base(consoleView)
        {
            m_ButtonText = new GUIContent(Localization.Get(ELocKey.UIInputSubmit));

            Console.InputModule.OnCursorMoved.AddListener(CursorMovedHandler);
        }
コード例 #5
0
 public AVisualCommand(ConsoleView view, string name, string description, bool isOption = false)
     : base(view.Console, name, description, isOption)
 {
     m_View = view;
 }
コード例 #6
0
 public AConsolePanel(ConsoleView consoleView)
 {
     m_ConsoleView = consoleView;
 }
コード例 #7
0
 public ClearCommand(ConsoleView view) : base(view, ELocKey.CmdClearName, ELocKey.CmdClearDesc)
 {
 }