Static Public Attributes | |
static Canvas | cameraCanvas = null |
static RectTransform | canvasRTransform = null |
This component should be attached to the Universal DeckStacker Canvas.
"Universal DeckStacker Canvas" (UDC) refers to the parent Canvas of all stacks in the scene.
This script helps with maintaining card positions after screensize changes, and providing the UDC to code that needs to convert mouse position to local positions on the canvas (card grabbing).
|
static |
Static value that stores reference to the Universal DeckStacker Canvas.
Every card's DSCardGrabber needs access to the Universal DeckStacker Canvas.
This is also the canvas that references the main camera of the scene that is rendering the Canvas.
|
static |
Static value that stores reference to the Universal DeckStacker Canvas's RectTransform.
Every card's DSCardGrabber needs access to the Universal DeckStacker Canvas.