Method | Description | |
---|---|---|
Billboard ( GameObject billboardPrefab, Vector3 position, Transform parent, bool destroyOnHide ) : CanvasBillboard, |
Creates and returns a new billboard canvas.
|
|
Hide ( float delayInSeconds = 0.0f ) : void |
Hides the billboard.
|
|
Show ( float delayInSeconds = 0.0f ) : void |
Shows the billboard.
|
Method | Description | |
---|---|---|
Awake ( ) : void |
Method | Description | |
---|---|---|
Fade ( float alphaFrom, float alphaTo, float durationInSeconds, float delayInSeconds, Action onFadeComplete ) : IEnumerator |
Coroutine used to fade the billboard from one alpha value to another.
|
|
OnHideComplete ( ) : void |
Callback for hide complete to destroy the billboard if required.
|
public static Billboard ( GameObject billboardPrefab, Vector3 position, Transform parent, bool destroyOnHide ) : CanvasBillboard, | ||
billboardPrefab | GameObject | |
position | Vector3 | |
parent | Transform | |
destroyOnHide | bool | |
return | CanvasBillboard, |
public Hide ( float delayInSeconds = 0.0f ) : void | ||
delayInSeconds | float | |
return | void |
public Show ( float delayInSeconds = 0.0f ) : void | ||
delayInSeconds | float | |
return | void |