NicholasSheehan / Unity-Native-Toasts

A Unity plugin to show native toasts on iOS and Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

๐Ÿž Unity-Native-Toasts ๐Ÿž๏ธ

Unity-Native-Toasts is a plugin to display toasts on iOS and Android.

openupm

๐Ÿ“ฑ Social ๐Ÿ“ฑ

GitHub Twitter

๐Ÿ‘Š Support ๐Ÿ‘Š

All of these projects are made during my free time, with more being added over time. If you'd like to support me, you can do it either by sponsoring me on GitHub or by donating via PayPal

๐Ÿ“ Changelog ๐Ÿ“

Watch this repository to be notified of new releases!

๐Ÿค Contribution ๐Ÿค

For contributing please read CONTRIBUTING.md

Don't worry about getting it 100% right, I can tidy it up as I review

๐Ÿ–ฅ๏ธ System Requirements ๐Ÿ–ฅ๏ธ

Unity 2018.3.14f1 or later. Older versions may work, feel free to test!

๐Ÿค” Examples ๐Ÿค”

Examples can be found at Unity-Native-Example-Project

๐Ÿ› ๏ธ Installation ๐Ÿ› ๏ธ

Unity 2019.3 or later (Using Unity Package Manager)

AddPackageFromGitURL

https://github.com/NicholasSheehan/Unity-Native-Toasts.git#v1.0.4

Unity 2018.3 or later (Using Unity Package Manager)

Add this to the projects manifest.json

"com.unitynative.toasts" : "https://github.com/NicholasSheehan/Unity-Native-Toasts.git"

To update the package, change suffix #{version} to the target version.

  • e.g. "com.unitynative.toasts" : "https://github.com/NicholasSheehan/Unity-Native-Toasts.git#v1.0.4"

Unity 2018.3 or later (Using OpenUPM)

openupm

This package is available on OpenUPM

You can install it via openupm-cli

openupm add com.unitynative.toasts

Unity 2018.2

Unity 2018.2 supports embedded packages.

  1. Download a source code zip file from the Releases page
  2. Extract it
  3. Import it under the Packages directory in your Unity project

๐Ÿ‘ Features ๐Ÿ‘

  • Popup a toast with custom text for either 2 seconds or 3.5 seconds

๐Ÿ”ฎ Roadmap ๐Ÿ”ฎ

  • Look into setting the location of the toasts
  • Look into custom display durations

About

A Unity plugin to show native toasts on iOS and Android

License:MIT License


Languages

Language:Java 34.6%Language:C# 31.4%Language:Objective-C 27.5%Language:Objective-C++ 6.5%