DeckStacker v1.0
A card manager plugin for Unity games.
 
Loading...
Searching...
No Matches
DeckStacker.DSCardInput Class Reference
Inheritance diagram for DeckStacker.DSCardInput:

Public Member Functions

void AllowInputOnFace (bool facingUp_)
 

Properties

DSClickableFaces clickableFaces [get]
 

Detailed Description

This script controls whether the card accepts user input, like taps or clicks.

Should be attached to a DSCard prefab.

Member Function Documentation

◆ AllowInputOnFace()

void DeckStacker.DSCardInput.AllowInputOnFace ( bool facingUp_)
inline

Called by the DSCardFlipper component.
This manages the active state of the cardButton to make sure its only active on the faces designated by clickableFaces.

Property Documentation

◆ clickableFaces

DSClickableFaces DeckStacker.DSCardInput.clickableFaces
get

Controls what side of the card is clickable.


The documentation for this class was generated from the following file: