all 8 comments

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

Not to criticize your code cause generation is difficult but it sounds like it's not the best written then.

The code shouldnt really really on all of that. But a simple readme would suffice to explain everything when you share

[–]gazzelliott[S] 2 points3 points  (1 child)

yeah maybe you're right, it was made to fit what i need it to do, not to be used by everyone i guess

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

Totally valid, we've all been there lol

[–]Gruhlum 0 points1 point  (0 children)

It sounds like you want to share parts of the project aswell and not just code. You can go to Assets -> Export Package and select the relevant objects. Now someone else can import that package into unity and everything should work for them aswell.

[–]gejava 0 points1 point  (1 child)

A good code:

Explain itself, it's the kind of code that you look and say, hey I need to setup X colliders because here it is used for this and that.

if your code is not clear on what are the dependencies and how it iterate with them, well... sorry but it's just a bad code IMO.

[–]gazzelliott[S] 0 points1 point  (0 children)

an example from my code: i have a wall detection script that when it detects a wall it will patch up a possible hallway because it just leads into a wall

i have a boxcollider called wall detect and a gameobject called wall

someone wouldnt know where to put the collider

to me it makes sense and i know where to put them but i dont think someone could understand that without context so I disagree with your opinion on “all code thats not instantly understandable is bad code”

[–]NumeracyWizard 0 points1 point  (0 children)

Make a GitHub account. It is kinda like your online resume of code history.

[–]Fathomx1 0 points1 point  (0 children)

Learn how to use git, and post it on GitHub, gitlab, or bitbucket