void Awake() { camera = Camera.main; _lastPosition = camera.transform.position; inventory = new InventoryManager(); inventory.init(basicStyle); notification = new Notification(); notification.init(basicStyle); menu = new Menu(); menu.init(basicStyle); menu.showMenu = true; EventCenter eventCenter = EventCenter.Instance; eventCenter.onEnablePlayer += this.onEnablePlayer; eventCenter.onMouseSensitivityChange += this.onMouseSensitivityChange; headController = GetComponent<PlayerMeshController> (); }