Author Topic: TNet + UnityScript  (Read 2071 times)

Voxel

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 35
    • View Profile
TNet + UnityScript
« on: June 22, 2013, 11:06:38 AM »
Hi,

I'm getting started on the TNet tutorial but all examples are in C#. My project is currently in UnityScript and would like to keep it that way.
Is it fine to use TNet with UnityScript?

My setup is as follows:
1 - Move TNet Folder To Plugins Folder
2 - Move the contents of the TNet/Editor folder to the main editor folder
3 - Use import TNet at the start of each script

Anything else I should look out for?

Thanks!
« Last Edit: June 22, 2013, 12:52:17 PM by Voxel »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: TNet + UnityScript
« Reply #1 on: June 22, 2013, 01:46:01 PM »
The way you will specify the [RFC] prefix will be different (@RFC), but other than that it should work much the same as in C#.

Voxel

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 35
    • View Profile
Re: TNet + UnityScript
« Reply #2 on: June 22, 2013, 02:45:11 PM »
Thanks ArenMook!

I have it all working now using the auto update script etc!
« Last Edit: June 22, 2013, 05:26:18 PM by Voxel »