Console implementation method based on Unity engine and terminal

An implementation method and technology of the console, applied in the field of Unity engine development, can solve the problems that the Unity engine does not have the ability to create consoles, low operation efficiency, and complexity, so as to facilitate control or debugging of programs, improve efficiency, and avoid overcomplicated effects.

Active Publication Date: 2020-06-05
福建省天奕网络科技有限公司
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] During the development process of the Unity engine or the use of the software developed by the Unity engine, the user needs to use a large number of instructions and parameters to control or debug the program in some cases. The operation is often more complicated and the operation efficiency is low. The console is a more effective operation method in this case, but the Unity engine itself does not have the function of creating a console.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Console implementation method based on Unity engine and terminal
  • Console implementation method based on Unity engine and terminal
  • Console implementation method based on Unity engine and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0069] Please refer to figure 1 , a console implementation method based on the Unity engine, including steps:

[0070] Receive the interface instance reference set after creating the interface;

[0071] Among them, the interactive interface can be developed and created based on UI components such as native UI or UGUI, and the user inputs instructions through the interactive interface, and the feedback result of the instruction can be displayed on the interactive interface; the developer can customize the interactive interface , the control script of the interactive interface needs to be inherited from IConsoleView, and the interactive interface provides instruction input and result output methods;

[0072] Specifically, the instance reference of the interactive interface is managed through the control module of the console, and the instance reference of the interactive interface transmitted by the control module during initialization is received.

[0073] Filter out all comm...

Embodiment 2

[0089] Please refer to image 3 , apply the method described in Embodiment 1 to a specific example:

[0090] A console implementation method based on the Unity engine, including steps:

[0091] Receive the interface instance reference set after creating the interface ConsoleView;

[0092] Among them, the interactive interface can be developed and created based on UI components such as native UI or UGUI, and the user inputs instructions through the interactive interface, and the feedback result of the instruction can be displayed on the interactive interface; the developer can customize the interactive interface , the control script of the interactive interface needs to be inherited from IConsoleView, the interactive interface provides instruction input GetCommand () and result output method AppendLine (line: string), and the input described instruction is a string;

[0093] Specifically, the console control module ConsoleController manages the instance reference of the inter...

Embodiment 3

[0111] Please refer to figure 2 , a console based on the Unity engine implements a terminal 1, including a memory 2, a processor 3 and a computer program stored on the memory 2 and operable on the processor 3, and the processor 3 executes the computer program Each step in the first embodiment is realized at the same time.

[0112] In summary, the console implementation method and terminal based on the Unity engine provided by the present invention receive instructions input through an interactive interface, parse the instructions into a command part and a parameter part, and find the corresponding command according to the command part example, by matching the command character with the command instance corresponding to the instruction, the command instance corresponding to each instruction can be accurately found, the accuracy rate is improved, and the matching process is convenient and fast, and the parameter part is passed to The command instance is used to execute the com...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a console implementation method based on a Unity engine and a terminal. The method includes: receiving an instruction input through the interactive interface, analyzing the instruction into a command part and a parameter part; finding a corresponding command instance according to the command part; transmitting the parameter part to the command instance to execute the command corresponding to the command, wherein the command corresponding to the command can execute a specific software service, when the number of the commands is large, the problems that a graphical interface is too complex and the operation efficiency is low are avoided, a user can control or debug a program conveniently, and the efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of Unity engine development, in particular to a console implementation method and a terminal based on the Unity engine. Background technique [0002] During the development process of the Unity engine or the use of the software developed by the Unity engine, the user needs to use a large number of instructions and parameters to control or debug the program in some cases. The operation is often complicated and inefficient. The console is a more effective operation method in this case, but the Unity engine itself does not have the function of creating a console. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide a console implementation method and a terminal based on the Unity engine, which can be convenient for users to operate. [0004] In order to solve the problems of the technologies described above, the technical solution adopted in the present...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/34G06F8/41
CPCG06F8/427G06F8/34Y02P90/02
Inventor 刘德建吴逸云林琛
Owner 福建省天奕网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products