Skip to content

m4ff/VRToaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

VRToaster

Unity library to show toasts. Useful to show messages in VR.

Usage

Toast rightToast = Toaster.MakeToast(ToastGroup.RightHand, "default");
// This toast will follow the left hand
Toast leftToast = Toaster.MakeToast(ToastGroup.LeftHand, "default");
// This toast will follow the head rotation
Toast frontToast = Toaster.MakeToast(ToastGroup.Frontal, "default");

// Show, hide and destroy a toast
rightToast.Show("Hello world");
rightToast.Hide();
rightToast.Destroy();

// Show an error message for 5 seconds
Toaster.TimedToast(ToastGroup.Frontal, "An error occurred", 5, "error");

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages