Search Unity

C# only resources?

Discussion in 'Scripting' started by punkouter, Sep 1, 2009.

  1. punkouter

    punkouter

    Joined:
    Jun 16, 2009
    Posts:
    84
    I want to stop using Javascript and keep everything in C#.

    Is there some collection of C# script anyone has put together . I so far have only seen a C# script mixed in with the javascript stuff here and there.
     
  2. jmunozar

    jmunozar

    Joined:
    Jun 23, 2008
    Posts:
    1,091
    sadly no, there are not a lot of resources in C#
     
  3. punkouter

    punkouter

    Joined:
    Jun 16, 2009
    Posts:
    84
    It is trvial to convert between the two like C#.NEt and VB.NET ?

    Is there a poll taken?

    What are the percentages as far as js/boo/c# usage?
     
  4. jmunozar

    jmunozar

    Joined:
    Jun 23, 2008
    Posts:
    1,091
    from my experience..

    The most used is Javascript

    the second one (C#)

    I have never seen a script with Boo :p
     
  5. Sam at FPS

    Sam at FPS

    Joined:
    Sep 1, 2009
    Posts:
    80
    In my opinion it's not too difficult to convert from Javascript to C#. Sometimes it is unclear what types things should be because of JS's dynamic typing but if you're using Visual Studio with intellisense it's easy to see what is returned from various methods.

    Coroutines and yields are the only thing that makes my head hurt when converting, because so much code is automatically taken care of in the JS versions.