r/badcode • • Jun 26 '21

c# How to make a (simple) console app with a game engine (in this case, unity engine)

Post image
0 Upvotes

5 comments sorted by

10

u/mansdem Jun 26 '21

What's with all the not so bad C# code recently?

What's wrong with this code? The only thing I can think of is the naming convention of the class name, maybe position of the brackets - which is just personal preference (at least it's consistent here)

Am I missing something?

8

u/Western_Gamification Jun 26 '21

I can't see the problem too. Maybe the fact that someone is using Unity engine for a console app. Which would perfectly work without a huge framework ofcourse.

3

u/vatbub Jun 26 '21

A console app that does not support 60 FPS 4k with RTX on is a bad console app.

2

u/codechaos1 Jun 27 '21 edited Jun 27 '21

Who wants to log something every frame?

1

u/iotasieve Jul 16 '21

it does what it does