Initialization
How to initialize Inventool.
Initialize
// playerTransform is the Transform of the player character
// mainCamera is the Camera that the player sees through
Inventool.Initialize(playerTransform, mainCamera);Updating Player Transform and Camera
// Set the new player transform
Inventool.playerTransform = newPlayerTransform
// Set the new main camera
Inventool.mainCamera = newMainCamera;Terminate
Inventool.Terminate();Last updated