Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Packages/GameCanvas/Runtime/Scripts/GcProxy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -922,12 +922,12 @@ public void DrawCameraImage(in GcCameraDevice camera, in GcRect rect, bool autoP
/// <inheritdoc/>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void DrawCameraImage(in GcCameraDevice camera, in float x, in float y, in float width, in float height, float degree = 0f, bool autoPlay = true)
=> DrawCameraImage(camera, new GcRect(x, y, width, height, math.radians(degree)));
=> DrawCameraImage(camera, new GcRect(x, y, width, height, math.radians(degree)), autoPlay);

/// <inheritdoc/>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void DrawCameraImage(in GcCameraDevice camera, in float x, in float y, float degree = 0, bool autoPlay = true)
=> DrawCameraImage(camera, new float2(x, y), degree);
=> DrawCameraImage(camera, new float2(x, y), degree, autoPlay);

/// <inheritdoc/>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
Expand Down