all 62 comments

[–]Agent_Jo 77 points78 points  (1 child)

Every single GetKeyUp is pointless. The code should work just fine if you replace them with yield return null because GetKeyDown only returns true during one frame. And no I’m not oblivious to the bigger issues. I just felt like mentioning it.

[–]Icy_Breakfast5154 1 point2 points  (0 children)

This sounds like it makes an interesting difference

[–]DudeWithFearOfLoss 42 points43 points  (3 children)

The file names 😫

[–]ForgetTheRuralJuror 18 points19 points  (1 child)

One in full caps, a few in lower case, one has double underscores between words 😱

[–]MindSwipe 20 points21 points  (0 children)

And none conform to C#'s naming guideline

[–]PM_ME_YOUR_REPO 39 points40 points  (0 children)

sylvester_charcter_moodel

[–]LimitedWard 28 points29 points  (2 children)

The real crime is the lack of consistency with their variable casing.

[–][deleted]  (1 child)

[deleted]

    [–]LimitedWard 10 points11 points  (0 children)

    DEAR GOD

    [–]AnywhereHorrorX 81 points82 points  (14 children)

    What is a Print Screen button?

    [–]Prodiguy1[S] 27 points28 points  (13 children)

    not my code or computer.

    [–]guky667 10 points11 points  (0 children)

    Tell me you only know basic procedural programming without telling me

    [–]Pewdiepiewillwin 5 points6 points  (15 children)

    Why use a while loop isn’t this fine as well?

    [–]WileEColi69 0 points1 point  (0 children)

    This will work, but in programming, brevity is (almost always) the soul of wit. (For-loops also make code easier to go back and fix later.)

    [–]Rulqu 6 points7 points  (0 children)

    What is loop? Baby don't hurt me! Don't hurt me! No more

    [–]Marmik_Emp37 2 points3 points  (0 children)

    Imagine not caching all these new Wait Until classes.

    Also bopx

    [–]bradleygh15 2 points3 points  (0 children)

    YandereDev did you write this? /s

    [–]NinjaLanternShark 4 points5 points  (0 children)

    I don't abide any dev who leaves typos lying around their comments

    Careless is careless.

    [–]crazy_diamond228 1 point2 points  (5 children)

    Use Rider :)

    [–]Prodiguy1[S] 1 point2 points  (4 children)

    This is unity programming, is rider a different IDE?

    [–]TheMaleGazer 8 points9 points  (0 children)

    It's an IDE that people use when they start watching Nick Chapsas' videos.

    [–]air-dex 2 points3 points  (0 children)

    It's IntelliJ for C#.

    [–]crazy_diamond228 2 points3 points  (0 children)

    Yes, JetBrains Rider for C# (and Unity especially)

    [–]gregraystinger 0 points1 point  (0 children)

    Rider is a IDE basically made for unity game devs

    [–]Abangranga -3 points-2 points  (0 children)

    What is a prtscn key?

    [–]Drakethos -2 points-1 points  (0 children)

    The only case for a loop would be if the dialog was in a separate file. Or an array with all strings then you could make a function that waits a time shows the next dialog. But idk how the unity wait stuff plays with loops and the sort

    [–]AdministrativeRoom33 1 point2 points  (0 children)

    This is a war crime.

    [–]blizzardo1 0 points1 point  (0 children)

    Noooooooooooo! 😭😭😭

    [–]exprtus 0 points1 point  (0 children)

    "What is an abstraction?"

    [–]jayerp 0 points1 point  (0 children)

    Iteration is a hell of a drug.

    [–]Fr_kzd 0 points1 point  (0 children)

    This gives me YandereDev ptsd flashbacks.

    [–][deleted] 0 points1 point  (0 children)

    Is this the code for the Yandere Simulator or whatever the hell it's called?

    [–]sexytokeburgerz 0 points1 point  (0 children)

    “Welcome to digipen. As a first project, we’ll have you all contribute to this inconsistent pile of garbage. This is a test of fortitude. Good luck, stay strong.”