This DeckStacker action takes a card or list of cards and reset the tint on it / them via the DSCardTintHelper.
Setting spd paramater to <= 0 will make the tint transition instant.
◆ DSResetCardTintAction() [1/2]
DeckStacker.DSResetCardTintAction.DSResetCardTintAction |
( |
DSCard | tintingCard_, |
|
|
float | spd_ = 1f ) |
|
inline |
Constructor for a single card being queued up.
- tintingCard = the DSCard to be tinted
- spd = a multiplier that speeds up or slows down the tint, applied to Time.deltaTime. A value <= 0 will make the tint transition instant.
◆ DSResetCardTintAction() [2/2]
DeckStacker.DSResetCardTintAction.DSResetCardTintAction |
( |
List< DSCard > | tintingCards_, |
|
|
float | spd_ = 1f ) |
|
inline |
Constructor for a DSCard list being queued up.
- tintingCards = the DSCard list to be tinted
- spd = a multiplier that speeds up or slows down the tint, applied to Time.deltaTime. A value <= 0 will make the tint transition instant.
◆ Execute()
override void DeckStacker.DSResetCardTintAction.Execute |
( |
| ) |
|
|
inline |
This code will execute when this DSAction is at the 0 index of the DSActionQueue.actionQueue list, and an RunUpdate call has been made.
The documentation for this class was generated from the following file: