How does this not have more likes and views, its the best video to show you how to implement cheats into your game yet, all the others are from like 4 years ago, still using javascript
@OneWheelStudio4 жыл бұрын
Spread the word! ;) Thanks for the kind words!
@akioasakura362410 ай бұрын
Woohoo. Why only 8k views!? Thank u for uploading sir ur a pro 🙏🙏🔥🔥
@erz30304 жыл бұрын
Thanks for sharing this :) Keep up the excellent tutorials!
@ozgurgurbuz4 жыл бұрын
You saved a big amount of my time. Thank you sir!
@justphitness16594 жыл бұрын
Would love to see a MOBA tutorial using Bolt. Followed your top down and a few others videos but now I’m lost.
@OneWheelStudio4 жыл бұрын
A MOBA is a pretty huge project! Your not the first to request it. I’m not sure how realistic it would be for me to attempt.
@DonutDev4 жыл бұрын
hey what about implementing thid in game aswell. like pressing "enter" lets say and a place where you can write the code. this was a great tutorial anyway :D
@OneWheelStudio4 жыл бұрын
Definitely do able. Just use an input field. Then rather than loop through “input.inputstring” loop through the text of the input field. There may be another hitch or snag but the general idea should be good.
@blue_lobster_4 жыл бұрын
Thanks mate
@elite_ramsay16672 жыл бұрын
Has anyone been able to apply this to a form of gui of like a console?
@MKVProcrastinator3 жыл бұрын
I suppose this wouldn't work for the Konami code, would it?
@OneWheelStudio3 жыл бұрын
Yeah not so much. That would need more of a "combo" tool to read and remember the inputs. A bit more complicated, but maybe not too bad.
@ElliotPixel2 жыл бұрын
If you're using an InputField and the new input system, it's also possible with only 63 lines of code. using System.Collections.Generic; using UnityEngine; // KZbin removes the comment if it contains a link, so replace "DOT" with ".". using UnityEngineDOTEvents; using UnityEngine.InputSystem; using TMPro; using UnityEngine.EventSystems; public class CheatCodeManager : MonoBehaviour { [SerializeField, Tooltip("The cheat code input field.")] TMP_InputField inputField; string previousText; TMP_Text placeholder; [SerializeField] List cheatCodeList = new(); void Awake() { // Gets the placeholder's TextMeshPro component. placeholder = inputField.transform.GetChild(0).GetChild(0).GetComponent(); previousText = placeholder.text; } bool IsSelected() { return EventSystem.current.currentSelectedGameObject == inputField.gameObject; } void Update() { if (Keyboard.current.enterKey.wasPressedThisFrame) { // If enter is pressed and the input field is selected, do this. if (IsSelected()) { CheckCheat(inputField.text); inputField.text = ""; } } } bool CheckCheat(string _input) { foreach (CheatCodeInstance code in cheatCodeList) { if (_input == code.code) { code.cheatEvent?.Invoke(); placeholder.text = previousText; return true; } } placeholder.text = "Invalid code."; return false; } } [System.Serializable] public class CheatCodeInstance { public string code; public UnityEvent cheatEvent; }
@tmoneygamestudio2 жыл бұрын
It's might just be a coincidence, but your voice sounds like the same one Odin Inspector videos uses with their videos.
@OneWheelStudio2 жыл бұрын
Definitely not a coincidence 😉 I’ve been making their videos for a couple years now.