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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Seeking advice for switching to C#

Discussion in 'Scripting' started by ZHH TMW, May 16, 2015.

?

UnityScript vs C#

  1. UnityScript

    0 vote(s)
    0.0%
  2. C#

    4 vote(s)
    100.0%
  1. ZHH TMW

    ZHH TMW

    Joined:
    Dec 10, 2014
    Posts:
    4
    Hi everyone,

    First of all, I am not sure this is the right part of the Forum to post.

    I had learned UnityScript for a bit. I read a book so far (Learn Unity3D Programming with UnityScript). It seems that I cannot do much as I wanted with UnityScript. Or is it just me who still needs a lot to learn to do so? The problem is I cannot find books for UnityScript. Almost all advanced books and tutorials are in C#. Couldn't find a book to master UnityScript or a book with complete fundamentals of UnityScript.

    I made a very simple app but I still have problems trying to add features that I want (with the knowledge I have so far). Here is the list:

    - A scrollable and auto font size text page for credits
    - Integration of Google Play [Please tell what do I need to learn to understand following codes]
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.google.android.gms">
    <uses-sdk android:minSdkVersion="9"
    android:targetSdkVersion="19" />

    <application>
    <meta-data
    android:name="com.google.android.gms.version"
    android:value="@Integer/google_play_services_version" />
    </application>

    </manifest>
    - Navigation drawers
    - A way to collect stats

    I spent a lot of time learning UnityScript. Do I really need to switch to C# or can I stick with UnityScript?

    Thank you for reading and thanks again for any advice you would give,
    ZHH
     
  2. boysenberry

    boysenberry

    Joined:
    Jul 28, 2014
    Posts:
    365
    Hi,
    I don't know what to tell you about the google play markup, except to say it looks like packaging information. I'd imagine there is a white paper on it somewhere explaining each of the markup attributes and acceptable values.
    As far as switching to C#, I would suggest doing it just for your own sanity, but not because you need to for what you've mentioned. If you want to understand UnityScript better though, much like C#, you need to know the syntax and common usage of the underlying language, Javascript to use it effectively. Other than that you need to know the same api C# uses, namely the Unity scripting API.
    I would suggest moving to C# for more reasons than I can go into, so I'll summarize it as, its more suited for robust programming in Unity and leave it at that. Good luck with getting everything to work with Google Play, wish I could help more.
     
  3. Iron-Warrior

    Iron-Warrior

    Joined:
    Nov 3, 2009
    Posts:
    836
  4. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,141
    Iron-Warrior likes this.
  5. ZHH TMW

    ZHH TMW

    Joined:
    Dec 10, 2014
    Posts:
    4
    Agree, a lot of books and resources for C#. It seems C# is the way to it.

    Can anyone give some advice on how to get started on Google Play markup?
     
    Last edited: May 17, 2015