typewriter-for-unity's Introduction
Typewriter Custom Styles. This Asset include C# scripts, that changes standard GUIText and add Typewriter effect to it. Script can be added to every standard GUIText component. It will add some custom fields in Editor, that allow you: - on/of launching script on Start(); - set speed of typewriter; - chose pointer symbol; - set number of custom strings(Multi Strings); - edit text of Multi Strings; How to use: - create standard UnityEngine.UI.Text; - add any of Typewriter scripts to it; - set variables and edit text in editor like you want; - for Multi Strings scripts: * set number of strings by public variable "MultiStrings"; * edit first in TextField of GUIText component; * edit other string in editor using custom TextArea and Popup; - public void functions: * StartTypewriter() - call to start typewriter; * SkipTypewriter() - call to skip typewriter and show text; * NextString() - call to show next string (only for MultiStrigs scripts); IMPORTANT NOTE!!!: You can use any kind of fonts for GUIText. But if you are using "RandomText" Style, I advice you use Monospaced font (also called a fixed-pitch, fixed-width, or non-proportional font), like included in asset UbuntuMono-Regular. Monospace is a font whose letters and characters each occupy the same amount of horizontal space. If you use Proportional font (not Monospaced) Text will appear incorrect. Description of scripts: w/o multi strings function: - TW_Regular.cs - standard typewriter effect - Launch On Start: * if "true" - script start showing text on MonoBehaviour.Start() * if "false" - script start showing text on function StartTypewriter() - Time Out: * time before showing next char of string (if 0 - script stop on current char) - Pointer Symbol: * Popup for choosing pointer symbol; - TW_RandomPointer.cs - custom typewriter effect, pointer symbol is a random char; - Launch On Start(same); - Time Out(same); - Charstype: * Popup for choosing type of pointer char; - TW_RandomText.cs - effect for creating random chars before appearing normal text; - Launch On Start(same); - Time Out: * time between showing random char and normal char (if 0 - show random text infinitely) - Charstype: * option for choosing type of random chars; with multi strings function: - TW_MultiStrings_Regular.cs - equal to TW_Regular.cs, with option of creating array of strings with editable text; - TW_MultiStrings_RandomPointer.cs - equal to TW_RandomPointer.cs, with option of creating array of strings with editable text; - TW_MultiStrings_RandomText.cs - equal to TW_RandomText.cs, with option of creating array of strings with editable text; - TW_MultiStrings_All.cs - include functionality of ALL MultiStrings scripts; - option of choosing type of Typewriter Style, and other specific attributes in Editor.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.