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

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