Skip to content

Instantly share code, notes, and snippets.

@olokobayusuf
Last active June 10, 2017 01:20
Show Gist options
  • Save olokobayusuf/2baf80fbdd8b6cf21ea931de441f504f to your computer and use it in GitHub Desktop.
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
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