Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question How to write code in Unity ?

Discussion in 'Scripting' started by ClearSY, Jul 15, 2023.

  1. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    6,135
    Seems all a bit pedantic when it just advice being given on how to structure/organise a project.
     
  2. KillDashNine

    KillDashNine

    Joined:
    Apr 19, 2020
    Posts:
    451
    Don't blame it on me, bro. Quoting you:

    "Good code comes about in the ways we restrict ourselves from doing things that would result in poor or messy code."

    100% agree. But then you said namespaces don't restrict you cos YOUR IDE is auto-including namespaces and not restricting them. And because of this you need to use asmdefs to protect yourself from overlapping your modules.
     
  3. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    4,310
    Possibly. This thread is getting longer by the minute. :D
     
    SisusCo likes this.