Skip to content

swparkaust/UnityChatLog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnityChatLog

In-game log for Unity with scrolling credit effects. Useful for outputting chat messages and player behaviour.

demo unitychatlog

Read this in other languages: English, 한국어.

Installation

No dependencies other than Unity are required. Let me know if anything happens!

  1. Create an empty GameObject and name it ChatLog.
  2. Download the ChatLog.cs script and add it to the GameObject.
  3. You can now print the text to display.

Usage

	private ChatLog chatLog;

	void Start()
	{
		chatLog = GetComponent<ChatLog>();
	}

	void Update()
	{
		if (Input.GetKey(KeyCode.LeftArrow))
			chatLog.Write("Player Moves Left");

		if (Input.GetKey(KeyCode.RightArrow))
			chatLog.Write("Player Moves Right");
	}

About

💬 In-game log for Unity with scrolling credit effects

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages