Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Building a framework?

Discussion in 'Scripting' started by Gewuji, Oct 20, 2019.

  1. Gewuji

    Gewuji

    Joined:
    Apr 12, 2017
    Posts:
    2
    Hello everyone .I'm only a novice developer.Have worked for a period of time to have a certain programming foundation and experience.I wanted to introduce a framework into my project during game development, but I had no experience with building a framework from scratch.
    So I would like to ask you, how to build a program framework from scratch, it needs to follow the basic principles or the basic thinking is what.I don't know if this description is correct or if it clarifies the problems I face. I hope someone will teach me
     
  2. Boz0r

    Boz0r

    Joined:
    Feb 27, 2014
    Posts:
    419
    It doesn't clarify anything about what the framework is supposed to do. Just write code that does what you want it to, and then try to abstract it as much as you can so it isn't coupled to the rest of your code base.
     
  3. Gewuji

    Gewuji

    Joined:
    Apr 12, 2017
    Posts:
    2
    Hi BozOr thanks for your answer, although it seems very simple.But it seemed to give me an idea