![]() |
Liberi
An exergame built for kids with CP!
|
A Sticker for showing the position of off screen objects the player may be interested in (other players, objectives, etc). More...
Inherits Sticker.
Public Attributes | |
Sprite | Icon |
The Sprite to use on the sticker. More... | |
![]() | |
Transform | Target |
A target transform this sticker attaches to visually. If left empty, will default to the tranform this component is attached to. More... | |
GameObject | Prefab |
A prefab to spawn as the visual representation of this sticker. More... | |
string | Tag |
A Tag used to identify groups of sticker. Eg, "player_names" could be the tag for LabelStickers attached to player Avatars. More... | |
float | Padding = 60 |
Vector3 | Offset |
bool | ClampAnchor |
bool | PointAtTarget |
bool | ShowInBounds |
Whether or not the sticker should be shown when target is in the bounds of the camera. Eg, an InterestSticker points to an off screen object and should not be visible if the target is in bounds. More... | |
bool | Shown |
Whether or not this sticker is shown at all. Used in conjunction with Tag system to enabled/disable the display of groups of tags. More... | |
bool | LockScreenPosition |
Vector2 | LockPoint |
Protected Member Functions | |
override void | Awake () |
override void | OnSpawn () |
override void | Update () |
override void | OnDestroy () |
![]() | |
virtual void | OnEnable () |
virtual void | OnDisable () |
Additional Inherited Members | |
![]() | |
GameObject | _guiObject |
bool | _initialized |
![]() | |
bool | IsVisible [get] |
Gets a value indicating whether this sticker is visible. More... | |
A Sticker for showing the position of off screen objects the player may be interested in (other players, objectives, etc).
Definition at line 9 of file InterestSticker.cs.
Sprite InterestSticker.Icon |
The Sprite to use on the sticker.
Definition at line 14 of file InterestSticker.cs.