Skip to content

Commit

Permalink
Changed GameplayCamera class RelativeHeading get and set method to st…
Browse files Browse the repository at this point in the history
…atic
  • Loading branch information
mythicalbro committed Oct 14, 2020
1 parent c6db19e commit f908b04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GameplayCamera.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ export abstract class GameplayCamera {
/**
* Get heading of gameplay camera.
*/
public get RelativeHeading(): number {
public static get RelativeHeading(): number {
return GetGameplayCamRelativeHeading();
}

/**
* Get heading of gameplay camera.
*/
public set RelativeHeading(heading: number) {
public static set RelativeHeading(heading: number) {
SetGameplayCamRelativeHeading(heading);
}
}

0 comments on commit f908b04

Please sign in to comment.