DeckStacker v1.0
A card manager plugin for Unity games.
 
Loading...
Searching...
No Matches
DeckStacker.DSCardTint Class Reference

Public Member Functions

 DSCardTint ()
 
 DSCardTint (string key_, Color newTint_)
 
 DSCardTint (DSCardTint clonedTint_)
 

Properties

string key [get]
 
Color tint [get, set]
 

Detailed Description

This is basically a tuple for a key - color pair.
This is used in the DSCardTintSettingsSO to edit prepared card tints.

Constructor & Destructor Documentation

◆ DSCardTint() [1/3]

DeckStacker.DSCardTint.DSCardTint ( )
inline

Default constructor used for initializing values in the Unity Inspector.

◆ DSCardTint() [2/3]

DeckStacker.DSCardTint.DSCardTint ( string key_,
Color newTint_ )
inline

Standard constructor

◆ DSCardTint() [3/3]

DeckStacker.DSCardTint.DSCardTint ( DSCardTint clonedTint_)
inline

A constructor that will initialize by cloning the values in the given DSCardTint.

Property Documentation

◆ key

string DeckStacker.DSCardTint.key
get

Used when retrieving tint colors from a DSCardTintSettingsSO scriptable object.

◆ tint

Color DeckStacker.DSCardTint.tint
getset

Color corresponding to the defined key.


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