메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
Awake ( ) : void |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | CanvasBillboard, |