Last active
June 10, 2017 01:20
-
-
Save olokobayusuf/2baf80fbdd8b6cf21ea931de441f504f to your computer and use it in GitHub Desktop.
Example showing how to explicitly set NatCamBehaviour members from code before starting the camera
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NatCamU; | |
public class ForceRearCamera : NatCamBehaviour { | |
public override void Start () { | |
// Force the rear camera | |
facing = Facing.Rear; | |
// Carry on | |
base.Start(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment