MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Blast / Start

Method Start

examples/UnityExample/Assets/Scripts/FreeCamera.cs:16–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 private float rotationY = 0.0f;
15
16 void Start()
17 {
18 Cursor.lockState = CursorLockMode.Confined;
19 rotationX = transform.localRotation.eulerAngles.y;
20 rotationY = -transform.localRotation.eulerAngles.x;
21 }
22
23 void Update()
24 {

Callers 1

runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected