文档

Unity Engine


User Manual

Script Reference

Unity Engine


IsPlaying()

Indicates that a graph is presently running.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool IsPlaying()

Returns

Type

Description

boolA boolean indicating if the graph is playing or not.

Remarks

Return true if PlayableGraph.Play or has been called on the graph. Returns false if PlayableGraph.Stop has been called on the graph. Note that calling PlayableGraph.Evaluate has no impact on the IsPlaying state.