Skip to content

AndanteTribe/TapEffect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TapEffect

unity-meta-check Releases GitHub license openupm

English | 日本語

Overview

TapEffect is a Unity package that displays a ripple tap interaction effect on Unity UI (uGUI).

When the user taps or clicks on the screen, a ripple animation is rendered using a custom shader. Multiple simultaneous tap effects are supported, with configurable maximum count and lifetime.

Requirements

Installation

Open Window > Package Manager, select [+] > Add package from git URL, and enter the following URL:

https://github.com/AndanteTribe/TapEffect.git?path=src/TapEffect.Unity/Packages/jp.andantetribe.tapeffect

Quick Start

  1. Add the TapEffect component to a UI GameObject that is a child of a Screen Space - Overlay Canvas (e.g., a full-screen panel).
  2. Assign a material using the _material (IObjectReference<Material>) field in the Inspector.
  3. Adjust Max Count and Lifetime as needed.

Note: It is recommended to place the TapEffect component on a higher-layer UI element so that ripples render on top of other UI elements.

API

Property Description
MaxCount The maximum number of simultaneous tap effects. Changing this at runtime resets the internal graphics buffer counter.
Lifetime The duration in seconds of each tap ripple animation.
raycastTarget Always false; the component never blocks raycasts.

License

This library is released under the MIT license.

About

Tap interaction effect for Unity UI (uGUI).

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors