Git Product home page Git Product logo

unitydailyreward's Introduction

DailyReward

Unity Daily Reward Implementation Using System DateTime APIS

Features:

  • Redeem Options: Users can exchange collected rewards for in-game items, currency, upgrades, or trade/sell to other players.

  • User-friendly APIs: The implementation offers intuitive and straightforward application programming interfaces (APIs) that are designed for easy integration, even for non-technical users.

  • Proven in Production: Successfully tested and used in a live production environment.

  • Customization: System is easily customizable to suit specific needs.

  • Easy to Understand: Everything inside package is self explanatory and easy to understand.

Limitations:

  • Local Time/Date: The system uses local time and date for tracking and managing daily rewards.

DailyReward_Demo

Demo_Pic


Usage

- Version "1.0" documentation may not cover all features of version "2.0".
- But still valuable to checkout. 
  • Attach DailyRewardBtn.cs on each button and assign day in inspector.

  • Attach DailyRewardBtn.cs anywhere in scene and assign Timer Text.

  • Give Reward on Btn Click


References

Manager

Manager_Ref

DailyReward Btn

daily_rewardbtn_ref

Reward Button

Reward_ref

2X Reward Button

TwoXReward_Ref


Docs

DailyRewardManager

Public Methods:-

CollectReward () Invokes DailyRewardBtn.onRewardCollect event of active button.

Collect2XReward () Invokes DailyRewardBtn.on2XRewardCollect event of active button.

Properties:-

AvailableRewardBtn return DailyRewardBtn if reward will be available.

Events:-

OnRewardAvailable Invokes when reward available.

Static Methods:-

DailyRewardManager Instance Readonly


DailyRewardBtn

Public Methods:-

UnityEvent OnClaimState

UnityEvent OnClaimedState

UnityEvent OnClaimUnAvailableState

UnityEvent onRewardCollect

UnityEvent on2XRewardCollect

UnityEvent onClick

Static Methods:-

List <DailyRewardBtn> dailyRewardBtns static list to access all buttons


Want to Contribute?

Report Bug Here!

unitydailyreward's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

onosaburo940516

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.