Deprecate IsActuallyPlayingSth and add IsActuallyPlaying to AudioSource
This commit is contained in:
@@ -277,8 +277,17 @@ public:
|
|||||||
public:
|
public:
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Determines whether this audio source started playing audio via audio backend. After audio play it may wait for audio clip data to be loaded or streamed.
|
/// Determines whether this audio source started playing audio via audio backend. After audio play it may wait for audio clip data to be loaded or streamed.
|
||||||
|
/// [Deprecated in v1.9]
|
||||||
/// </summary>
|
/// </summary>
|
||||||
API_PROPERTY() FORCE_INLINE bool IsActuallyPlayingSth() const
|
API_PROPERTY() DEPRECATED FORCE_INLINE bool IsActuallyPlayingSth() const
|
||||||
|
{
|
||||||
|
return _isActuallyPlayingSth;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determines whether this audio source started playing audio via audio backend. After audio play it may wait for audio clip data to be loaded or streamed.
|
||||||
|
/// </summary>
|
||||||
|
API_PROPERTY() FORCE_INLINE bool IsActuallyPlaying() const
|
||||||
{
|
{
|
||||||
return _isActuallyPlayingSth;
|
return _isActuallyPlayingSth;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user