Unity - Open Door, with Safe Code.

  Рет қаралды 6,633

Clip Collection Vault

Clip Collection Vault

Күн бұрын

Пікірлер: 29
@UncleJezus
@UncleJezus 2 жыл бұрын
I'm really struggling to find a tutorial that'll be useful for my project. This tutorial really helps! Appreciate you shared this.
@ClipCollectionVault
@ClipCollectionVault 2 жыл бұрын
Thanks for the Nice feedback, glad i could help.
@lovecrypto4979
@lovecrypto4979 2 жыл бұрын
Thank you for your tutorial. I was just looking for how to open the door with PIN number.
@ClipCollectionVault
@ClipCollectionVault 2 жыл бұрын
Glad that i could help.
@katerinaorgandzhieva4106
@katerinaorgandzhieva4106 2 жыл бұрын
Amazing video, thank you! Keep up the good work :)
@ClipCollectionVault
@ClipCollectionVault 2 жыл бұрын
Thank you :)
@chaimabensalem1885
@chaimabensalem1885 2 жыл бұрын
Fantastic tutorial!! thanks for the help!!!!
@ClipCollectionVault
@ClipCollectionVault 2 жыл бұрын
Thank you, and no problem :)
@kazyha
@kazyha 8 ай бұрын
Thanks you very much!
@ClipCollectionVault
@ClipCollectionVault 8 ай бұрын
No problem :)
@vikriereonaldo4933
@vikriereonaldo4933 Жыл бұрын
Thanks for tutorial
@missoo7128
@missoo7128 9 ай бұрын
Thank you❤
@ClipCollectionVault
@ClipCollectionVault 8 ай бұрын
No problem :)
@facusandoval4074
@facusandoval4074 2 жыл бұрын
Thank you, bro!!
@ripgojo
@ripgojo Жыл бұрын
When i press e my character teleports away. Like sometiems when i want to put in the code i press e for the pop up and im teleported behind the wall next to me
@أريجالشمري-س6ش
@أريجالشمري-س6ش 2 жыл бұрын
I do the same thing but the keypad doesn't appear do you have any idea thanx for the video
@yungluap7212
@yungluap7212 Жыл бұрын
Can i use this also in VR?
@morarogames
@morarogames 2 жыл бұрын
thank you :(
@ClipCollectionVault
@ClipCollectionVault 2 жыл бұрын
Did you get it to work ?
@morarogames
@morarogames 2 жыл бұрын
@@ClipCollectionVault yes thank you but i need one more thing if you can i want the game to write pres e to open keypad
@dxvl2125
@dxvl2125 3 ай бұрын
i cant press the buttons on the code
@ashturnen3178
@ashturnen3178 Ай бұрын
I had the same issue. add this if statement code under the void update() if(CodePanel.activeInHierarchy) { Cursor.visible = true; Cursor.lockState = CursorLockMode.None; }
@walidbenothmen7741
@walidbenothmen7741 2 жыл бұрын
great video but i have a problem when i enter the code to open the door i have to click many times to get the number.
@ClipCollectionVault
@ClipCollectionVault 2 жыл бұрын
Hi, Can you share your code, then, I Can take a look ?
@walidbenothmen7741
@walidbenothmen7741 2 жыл бұрын
@@ClipCollectionVault okay... using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; public class OpenDoor : MonoBehaviour { private Animator anim; private bool IsAtDoor = false; [SerializeField] private TextMeshProUGUI CodeText; string CodeTextValue = ""; public string safeCode; public GameObject CodePanel; // Start is called before the first frame update void Start() { anim = GetComponent(); } // Update is called once per frame void Update() { CodeText.text = CodeTextValue; if(CodeTextValue == safeCode) { anim.SetTrigger("OpenDoor"); CodePanel.SetActive(false); } if(CodeTextValue.Length >= 4) { CodeTextValue = ""; } if(Input.GetKey(KeyCode.E) && IsAtDoor ==true) { CodePanel.SetActive(true); } } private void OnTriggerEnter(Collider other) { if (other.tag == "Player") { IsAtDoor = true; } } private void OnTriggerExit(Collider other) { IsAtDoor = false; CodePanel.SetActive(false); } public void AddDigit(string digit) { CodeTextValue += digit; } }
@ClipCollectionVault
@ClipCollectionVault 2 жыл бұрын
@@walidbenothmen7741 code looks correct, so do you need to click the numbers, many times before it writes it ? Are there a thing blocking the number ? Other objects ?
@RyanKitchen-x8c
@RyanKitchen-x8c Жыл бұрын
how do i add a sound to every time you click a button
@ClipCollectionVault
@ClipCollectionVault Жыл бұрын
You Can check my Tutorial about Sound manager, there it id easy to add it
OPENING a DOOR in UNITY on TRIGGER EVENT
8:20
SpeedTutor
Рет қаралды 122 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
I Beat Minecraft From One Grass Block
35:27
Beppo
Рет қаралды 8 МЛН
Can I 100% Superliminal and Get a Refund?
23:36
Gronf
Рет қаралды 414 М.
How to make a Video Game - Godot Beginner Tutorial
1:17:12
Brackeys
Рет қаралды 2,9 МЛН
Unity -  How to make a Main Menu (fast, simple & easy)
16:11
Clip Collection Vault
Рет қаралды 3,2 М.
Unity 3D/2D - Open/Close Door, with or without button Press.
13:10
Clip Collection Vault
Рет қаралды 2,8 М.
How To Make A Keypad in Unity (EASY!)
5:53
It’s Networking
Рет қаралды 3,8 М.
How To Make Door Unlock With Keypad In Unity By M-Unity-Developer
7:47
M-Unity-Developer
Рет қаралды 18 М.
How to Add a Field of View for Your Enemies [Unity Tutorial]
23:45
Comp-3 Interactive
Рет қаралды 93 М.
SAVE & LOAD SYSTEM in Unity
18:20
Brackeys
Рет қаралды 1,1 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН