Liberi
An exergame built for kids with CP!
All Classes Functions Variables Properties Events
InterestSticker Class Reference

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...
 
- Public Attributes inherited from Sticker
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 ()
 
- Protected Member Functions inherited from Sticker
virtual void OnEnable ()
 
virtual void OnDisable ()
 

Additional Inherited Members

- Protected Attributes inherited from Sticker
GameObject _guiObject
 
bool _initialized
 
- Properties inherited from Sticker
bool IsVisible [get]
 Gets a value indicating whether this sticker is visible. More...
 

Detailed Description

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.

Member Data Documentation

Sprite InterestSticker.Icon

The Sprite to use on the sticker.

Definition at line 14 of file InterestSticker.cs.


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