Skip to content

Commit

Permalink
Zeroing the reticle local rotation on creation
Browse files Browse the repository at this point in the history
  • Loading branch information
JScott committed Jan 24, 2016
1 parent 9b380ba commit 9abed37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CardboardControl/Scripts/CardboardControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ private void FixBrokenBaseSDK() {
GameObject reticlePrefab = Instantiate(Resources.Load("CardboardReticle")) as GameObject;
reticlePrefab.transform.parent = Camera.main.transform;
reticlePrefab.transform.localPosition = Vector3.zero;
reticlePrefab.transform.localEulerAngles = Vector3.zero;
reticlePrefab.name = "CardboardReticle";
}

Expand Down

0 comments on commit 9abed37

Please sign in to comment.