Method IsLive
IsLive(ICinemachineCamera, bool)
True if the ICinemachineCamera the current active camera, or part of a current blend, either directly or indirectly because its parents are live.
선언
public bool IsLive(ICinemachineCamera vcam, bool dominantChildOnly = false)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| ICinemachineCamera | vcam | The camera to test whether it is live |
| bool | dominantChildOnly | If truw, will only return true if this vcam is the dominat live child |
반환
| 타입 | 설명 |
|---|---|
| bool | True if the camera is live (directly or indirectly) or part of a blend in progress. |