Edit

Bagikan melalui


ICameraFader.FadeOutAsync(Single, Color, IEnumerable<Camera>) Method

Definition

Applies a fade-out effect over time.

public:
 System::Threading::Tasks::Task ^ FadeOutAsync(float fadeOutTime, UnityEngine::Color color, System::Collections::Generic::IEnumerable<UnityEngine::Camera ^> ^ targets);
public System.Threading.Tasks.Task FadeOutAsync (float fadeOutTime, UnityEngine.Color color, System.Collections.Generic.IEnumerable<UnityEngine.Camera> targets);
abstract member FadeOutAsync : single * UnityEngine.Color * seq<UnityEngine.Camera> -> System.Threading.Tasks.Task
Public Function FadeOutAsync (fadeOutTime As Single, color As Color, targets As IEnumerable(Of Camera)) As Task

Parameters

fadeOutTime
Single

The duration of the fade

color
UnityEngine.Color

The color of the fade

targets
IEnumerable<UnityEngine.Camera>

Which cameras will receive the effect

Returns

Applies to