GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ruzicka/StackTextBox: Simple Unity component implementing stack of text messages

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
Assets
Assets
 
 
README.md
README.md
 
 

Repository files navigation

StackTextBox

StackTextBox is simple Unity 3D component implementing stack of text messages.

Installation

Download the project and copy content of the Assets directory to your Unity project's Assets directory.

How to use

	//Get StackTextBox instance of the prefab droped in the scene
	StackTextBox msgBox = GameObject.Find("StackTextBox")
		.GetComponent<StackTextBox>();
		
	// add some messages	
	msgBox.AddText("Hello, world!");
	msgBox.AddText("By, world!");

	// AddText method returns StackText instance
	StackText msg = msgBox.AddText("Hello, world!");
	...
	// it can be used later to hide message. Hiding message effectively 
	// removes it from the stack.
	msg.Hide();
	
	// text message can be hidden automatically after specified time (miliseconds) 
	msgBox.AddText("This message will self-desctruct in 5 seconds", 5000);
	

About

Simple Unity component implementing stack of text messages

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.