I'm really struggling to find a tutorial that'll be useful for my project. This tutorial really helps! Appreciate you shared this.
@ClipCollectionVault2 жыл бұрын
Thanks for the Nice feedback, glad i could help.
@lovecrypto49792 жыл бұрын
Thank you for your tutorial. I was just looking for how to open the door with PIN number.
@ClipCollectionVault2 жыл бұрын
Glad that i could help.
@katerinaorgandzhieva41062 жыл бұрын
Amazing video, thank you! Keep up the good work :)
@ClipCollectionVault2 жыл бұрын
Thank you :)
@chaimabensalem18852 жыл бұрын
Fantastic tutorial!! thanks for the help!!!!
@ClipCollectionVault2 жыл бұрын
Thank you, and no problem :)
@kazyha8 ай бұрын
Thanks you very much!
@ClipCollectionVault8 ай бұрын
No problem :)
@vikriereonaldo4933 Жыл бұрын
Thanks for tutorial
@missoo71289 ай бұрын
Thank you❤
@ClipCollectionVault8 ай бұрын
No problem :)
@facusandoval40742 жыл бұрын
Thank you, bro!!
@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ش2 жыл бұрын
I do the same thing but the keypad doesn't appear do you have any idea thanx for the video
@yungluap7212 Жыл бұрын
Can i use this also in VR?
@morarogames2 жыл бұрын
thank you :(
@ClipCollectionVault2 жыл бұрын
Did you get it to work ?
@morarogames2 жыл бұрын
@@ClipCollectionVault yes thank you but i need one more thing if you can i want the game to write pres e to open keypad
@dxvl21253 ай бұрын
i cant press the buttons on the code
@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; }
@walidbenothmen77412 жыл бұрын
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.
@ClipCollectionVault2 жыл бұрын
Hi, Can you share your code, then, I Can take a look ?
@walidbenothmen77412 жыл бұрын
@@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; } }
@ClipCollectionVault2 жыл бұрын
@@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 Жыл бұрын
how do i add a sound to every time you click a button
@ClipCollectionVault Жыл бұрын
You Can check my Tutorial about Sound manager, there it id easy to add it