https://github.com/owl-man/android-toast-message-for-unity
https://github.com/owl-man/android-toast-message-for-unity
android plugin tool unity
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/owl-man/android-toast-message-for-unity
- Owner: Owl-Man
- Created: 2021-09-26T07:42:40.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-26T08:07:37.000Z (over 4 years ago)
- Last Synced: 2025-10-25T03:22:52.541Z (8 months ago)
- Topics: android, plugin, tool, unity
- Language: C#
- Homepage:
- Size: 2.93 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Android Toast Message for Unity
Drag the **ToastSystem.cs** script to your scripts folder in Unity project. Now you can call the **Send** method, which is located in the **ToastSystem** static class, and specify your text in the parameter.
Example:
using UnityEngine;
public class Test : MonoBehaviour
{
private void Start()
{
ToastSystem.Send("toast message");
}
}
***IMPORTANT: if you test the toast message in the Unity, there will be an error in the console. But if you build the apk and test it on an android smartphone, then everything will work***.