Check patentability & draft patents in minutes with Patsnap Eureka AI!

Unity-based word editing method and terminal

An editing terminal and editing technology, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as low flexibility, poor user experience, and inability to edit a single word, and achieve strong flexibility and user experience. Good results

Active Publication Date: 2018-10-12
FUJIAN TQ DIGITAL
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the prior art, to input a word in Unity, only the text input box inputfield can be used to input the word, but in the existing method of word input in Unity, the content in the text input box cannot be edited and edited in real time. display, and it is impossible to edit various character attributes for a single character, which results in low flexibility and poor user experience when inputting characters in Unity

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
  • Unity-based word editing method and terminal
  • Unity-based word editing method and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] Please refer to figure 1 , a word editing method based on Unity, including steps:

[0055] S1. Create a prefabricated text edit box for editing words and a word table that stores each word and the corresponding attribute information of the word. When receiving a word input into the text input box, add the word to the word surface;

[0056] According to the change of the length of the text content in the text input box, it is judged whether to add words, replace words or delete words, if add words or replace words, then perform step S2; if delete words, then perform step S4;

[0057] Wherein, said judging according to the change of the length of the text content in the text input box whether to add words, replace words or delete words comprises:

[0058] If the length of the text content in the text input box remains the same, it is the replacement word; if the length of the text content in the text input box becomes larger, it is the addition word; if the length of th...

Embodiment 2

[0064] Please refer to figure 2 , a kind of word editing terminal 1 based on Unity, comprise memory 2, processor 3 and be stored on described memory 2 and the computer program that can run on described processor 3, described processor 3 executes described computer program When performing the following steps:

[0065] S1. Create a prefabricated text edit box for editing words and a word table that stores each word and the corresponding attribute information of the word. When receiving a word input into the text input box, add the word to the word surface;

[0066] According to the change of the length of the text content in the text input box, it is judged whether to add words, replace words or delete words, if add words or replace words, then perform step S2; if delete words, then perform step S4;

[0067] Wherein, said judging according to the change of the length of the text content in the text input box whether to add words, replace words or delete words comprises:

[0...

Embodiment 3

[0074] Apply the above-mentioned Unity-based word editing method to specific scenarios:

[0075] S1. Create a prefabricated text editing box for editing words and a word table that stores each word and the corresponding attribute information of the word. When receiving a word input into the text input box, add the word to the word surface;

[0076] You can define a custom class fontInfo to store text information, such as color, font, bold, italic, etc.;

[0077] Encapsulate a FontClass class, which contains the information contained in the entire word editor: such as a List Set, that is, the word table, is used to store each word and its corresponding attribute information, word background frame, picture collection (used to save the picture address and information corresponding to the picture, such as picture size, width and height, etc.), alignment, display effect, etc. , wherein the display effects include ripples appearing, fading in and out, changing from small to large,...

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 provides a Unity-based word editing method and a terminal. The word editing method comprises the steps of creating a text editing box preform for editing words, and a word table for storing words and attribute information corresponding to the words, and every time a word input into the input text input box is received, adding the word into the word table; receiving editing information for editing the word input into the text input box through a text editing box, modifying attributes of corresponding words in the word table according to the editing information, and synchronously displaying the modified words; and filling the modified words in the corresponding position in the text editing box. The editing of a single word can be realized in Unity, and the edited result can bedisplayed synchronously in the editing process, thereby realizing a WYSIWYG effect, strong flexibility and good user experience.

Description

technical field [0001] The invention relates to the field of software development, in particular to a Unity-based word editing method and terminal. Background technique [0002] In the prior art, to input a word in Unity, only the text input box inputfield can be used to input the word, but in the existing method of word input in Unity, the content in the text input box cannot be edited and edited in real time. It shows that it is impossible to edit various character attributes of a single character, which results in low flexibility and poor user experience when character input in Unity. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide a word editing method and terminal based on Unity, which can edit a single word and realize real-time editing and display. [0004] In order to solve the above-mentioned technical problems, a kind of technical scheme that the present invention adopts is: [0005] A word editing me...

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
IPC IPC(8): G06F17/24
CPCG06F40/166
Inventor 刘德建林琛张德富
Owner FUJIAN TQ DIGITAL
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More