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. Dismiss Notice

Is importing pre created scripts a good way to learn?

Discussion in 'Editor & General Support' started by GinkgoKafka, Mar 9, 2015.

  1. GinkgoKafka

    GinkgoKafka

    Joined:
    Mar 9, 2015
    Posts:
    5
    Hey everyone, I'm attempting to learn Unity and scripting for the first time ( no prior knowledge of scripting or programming of any kind) and am trying to find the most efficient way to learn. I've been watchign some videos online, as well as the Unity3dstudent.com videos, but am finding it difficult to memorize the scripts. I can follow along the video, but as soon as I close it, I just simply cant remember all those little codes and colons and what not.

    Now, for my main question. Would using already compiled scripts be a good way to learn and memorize the scripts and understand how they work? And then start to tinker with them on my own to get a better understanding of it, sort of like using them as a template? Is it common to do this, or does everybody start their scripts from scratch instead of using others as a template?

    I appreciate any help you could offer. Cheers!
     
  2. Anozireth

    Anozireth

    Joined:
    Feb 7, 2013
    Posts:
    71
    Looking at others' code can be a great way to learn. It is very common to use some existing code as a template or starting point for working on something, especially if you're new to a programming language. Don't be afraid to tinker and experiment. Make some changes and see what happens.
     
    BrandyStarbrite likes this.
  3. GinkgoKafka

    GinkgoKafka

    Joined:
    Mar 9, 2015
    Posts:
    5
    Thanks for your response! I was worred that, if I use other peoples scripts, and tinker with them, that I would run into some kind of copyright issues. Are there any chances of that if I ever sell my game?
     
  4. Anozireth

    Anozireth

    Joined:
    Feb 7, 2013
    Posts:
    71
    That can depend on greatly on the license of the code you have used. I am not an expert in that area. I would suggest carefully reading the licenses that accompany any code you use in a published product to make sure it's OK.
     
    BrandyStarbrite likes this.