Skip to content

Commit

Permalink
Commented out inFixedTimeStep use in PaddleBase.cs. Added meta files …
Browse files Browse the repository at this point in the history
…for credits resources.
  • Loading branch information
Cheeseness committed Apr 17, 2017
1 parent fbd035a commit 0972a81
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Assets/Resources.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions Assets/Resources/credits.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Resources/credits/credits-assets-git.txt.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Resources/credits/credits-extra.txt.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Assets/Resources/credits/credits-git.txt.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Assets/scripts/entity/PaddleBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected void SetThrust(float thrust)
// +ve for "up"
protected void MovePaddles(float dir)
{
Debug.Assert(Time.inFixedTimeStep, "Paddle movement should only happen inside physics code");
//Debug.Assert(Time.inFixedTimeStep, "Paddle movement should only happen inside physics code"); //FIXME: PaddleBase.cs(33,21): error CS0117: `UnityEngine.Time' does not contain a definition for `inFixedTimeStep'

if (rigidBody)
{
Expand Down

4 comments on commit 0972a81

@fragmental
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the deal with inFixedTimeStep?

@Cheeseness
Copy link
Contributor Author

@Cheeseness Cheeseness commented on 0972a81 Apr 17, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, dunno. Was an error that the editor spat out and wouldn't move past. It's only an assert, so I commented it out so that I could get builds out. Could be a Linux bug. Could be something else.

PaddleBase.cs(33,21): error CS0117: UnityEngine.Time' does not contain a definition for inFixedTimeStep'

@Cheeseness
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh! Looking into this more deeply, it turned out that I'd accidentally launched a pre-release 5.6.0 beta which doesn't have UnityEngine.Time.inFixedTimeStep. This can be readded in at any time (I'll pop it back in later if nobody beats me to it) -_-

@Cheeseness
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been added back in now ^_^

Please sign in to comment.