Esempio n. 1
0
 private void StartSituation()
 {
     ManagerDrillingItems.Instance.ItemsStartPosition(false);
     if (player == null)
     {
         player = FindObjectOfType <VRMovement>();
     }
     player.transform.position    = posStart;
     player.transform.eulerAngles = posLook;
 }
Esempio n. 2
0
 public override void Action()
 {
     if (CanInteract)
     {
         modelExtinguisher.SetActive(false);
         WarningIconFire.SetActive(false);
         VRMovement vrMovement = FindObjectOfType <VRMovement>();
         vrMovement.SetParentCameraExtinguisher();
         base.Action();
     }
 }
Esempio n. 3
0
        public override void Action()
        {
            MaskModel.SetActive(false);
            ManagerInteractItems.Instance.DeactivateWorkers();
            InteractItem  _item      = ManagerInteractItems.Instance.GetItem(eItems.EmergencyEvacuation);
            PointMoveItem _pointMove = _item.GetComponent <PointMoveItem>();

            _pointMove.ActivateSituaion();
            VRMovement vrMovement = FindObjectOfType <VRMovement>();

            vrMovement.ActivateGasMask();
            base.Action();
        }
Esempio n. 4
0
 private void Awake()
 {
     CameraRadarHazard.SetActive(false);
     CameraViveRadar.SetActive(false);
     vRMovement = GetComponent <VRMovement>();
 }