| | 1 | | using System.Data.Common; |
| | 2 | | using Cinemachine; |
| | 3 | | using DCL.Camera; |
| | 4 | | using DCL.Helpers; |
| | 5 | | using UnityEngine; |
| | 6 | | using UnityEngine.Rendering; |
| | 7 | |
|
| | 8 | | namespace DCL |
| | 9 | | { |
| | 10 | | public class SceneReferences : Singleton<SceneReferences>, ISceneReferences |
| | 11 | | { |
| 34 | 12 | | public MouseCatcher mouseCatcher { get; internal set; } |
| 0 | 13 | | public GameObject groundVisual { get; internal set; } |
| 34 | 14 | | public GameObject biwCameraParent { get; internal set; } |
| 14 | 15 | | public InputController inputController { get; internal set; } |
| 34 | 16 | | public GameObject cursorCanvas { get; internal set; } |
| 95 | 17 | | public GameObject biwBridgeGameObject { get; set; } |
| 34 | 18 | | public PlayerAvatarController playerAvatarController { get; internal set; } |
| 77 | 19 | | public CameraController cameraController { get; internal set; } |
| 150 | 20 | | public UnityEngine.Camera mainCamera { get; internal set; } |
| 0 | 21 | | public GameObject bridgeGameObject { get; internal set; } |
| 0 | 22 | | public Light environmentLight { get; internal set; } |
| 0 | 23 | | public Volume postProcessVolume { get; internal set; } |
| 0 | 24 | | public CinemachineFreeLook thirdPersonCamera { get; internal set; } |
| 0 | 25 | | public CinemachineVirtualCamera firstPersonCamera { get; internal set; } |
| 102 | 26 | | public void Dispose() { } |
| | 27 | |
|
| | 28 | | public void Initialize(MouseCatcher mouseCatcher, |
| | 29 | | GameObject groundVisual, |
| | 30 | | GameObject biwCameraParent, |
| | 31 | | InputController inputController, |
| | 32 | | GameObject cursorCanvas, |
| | 33 | | GameObject BIWBridgeGameObject, |
| | 34 | | PlayerAvatarController playerAvatarController, |
| | 35 | | CameraController cameraController, |
| | 36 | | UnityEngine.Camera mainCamera, |
| | 37 | | GameObject bridgeGameObject, |
| | 38 | | Light environmentLight, |
| | 39 | | Volume postProcessVolume, |
| | 40 | | CinemachineFreeLook thirdPersonCamera, |
| | 41 | | CinemachineVirtualCamera firstPersonCamera) |
| | 42 | | { |
| 0 | 43 | | this.mouseCatcher = mouseCatcher; |
| 0 | 44 | | this.groundVisual = groundVisual; |
| 0 | 45 | | this.biwCameraParent = biwCameraParent; |
| 0 | 46 | | this.inputController = inputController; |
| 0 | 47 | | this.cursorCanvas = cursorCanvas; |
| 0 | 48 | | this.biwBridgeGameObject = BIWBridgeGameObject; |
| 0 | 49 | | this.playerAvatarController = playerAvatarController; |
| 0 | 50 | | this.cameraController = cameraController; |
| 0 | 51 | | this.mainCamera = mainCamera; |
| 0 | 52 | | this.bridgeGameObject = bridgeGameObject; |
| 0 | 53 | | this.environmentLight = environmentLight; |
| 0 | 54 | | this.postProcessVolume = postProcessVolume; |
| 0 | 55 | | this.thirdPersonCamera = thirdPersonCamera; |
| 0 | 56 | | this.firstPersonCamera = firstPersonCamera; |
| 0 | 57 | | } |
| | 58 | | } |
| | 59 | | } |