Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

Search the Community

Showing results for tags 'convert'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GENERAL
    • Introduce yourself
    • Discussions
    • Showcase
    • Need help?
    • Seeking team members?
    • Offtopic
  • RESOURCES
    • Example Projects
    • Scripts
    • Shaders
    • Unity Tutorials
    • FPS Kit Tutorials
    • 3D models
    • Animated 3D Models
    • Graphic design
    • Textures
    • Sounds
    • Other
  • SELL | REQUEST
    • Sell
    • Request
  • Mars' Modular Multiplayer Photon FPS Kit's Topics
  • Mars' Modular Multiplayer Photon FPS Kit's Reviews
  • Mars' Modular Multiplayer Photon FPS Kit's Updates
  • Mars' Modular Multiplayer Photon FPS Kit's Tutorials
  • Busy People's Introductions
  • Photon's Tutorials
  • Photon's Photon General
  • Photon's Showcase

Categories

  • Free Projects
  • Free Assets
  • Game Demos
  • Photon's Files

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


YouTube URL


Facebook URL


Twitter URL


IndieGoGo URL


Kickstarter URL


IndieDB URL


GreenLight URL


Location:


Interests

Found 7 results

  1. Hey ArmedUnity community, I worked on a Unity project for a long time and I have write the most script's in javacodes so JS (Javascripts/unityscripts), but now I made a mistake. I would convert one Javascript Unity project to C# scripts with a script converter tool, but the converter has convert all my javascripts in my primary Unity Project to C# scripts too. Now I don't have a backup from my primary project Javascripts, so all my javascripts are converted to C# scripts (my game project don't work anymore). But I have build my game a day ago, so I have now downloaded "dotPeek" the tool can decompile .dll files and can export scripts. The problem is, it can only decompile all scripts to C# not to javascripts. I have only two scripts written in the c# language, the rest is written in JS, so JavaScript/unityscript. Now, I need your help: - My question is, is there a way to convert all the C# scripts back to my javascripts? - Or the better option: Is there a way to extract the js (Javascripts/unityscripts) from my builded game? Here are a picture from the two c# scripts in my builded game(I can export my c# scripts perfect with "DotPeek" or any export tool, but not my javascripts): https://image.ibb.co/dWJp1n/c_scripts.png And here are a picture from my Js (Javascripts/unityscripts). If I open my builded game with any decompile tool, will any program convert my javascripts to c# scripts automatically. So this picture is made in "DotPeek" too: https://preview.ibb.co/eyvV7S/javascripts.png Thanks, -ImHaxoTV aka Florian
  2. I want to convert this script to play my game in android. This control helicopter using keycode i want to control it by using canvas button.Please Help. HelicopterController.cs
  3. Converting it can be simple. Lets take something like void string guitext; void OnGui(){ GUI.Label(new Rect(Screen.width/2 - 75, Screen.height - 100, 300, 30), guitext); } Now while this will show what you want, it would definitely be more efficient to use the new UGUI. Now at the top of your script it will say using UnityEngine; using System.Collections; we want to add a new addition to this. I'll explain next why we do this. We are going to make it now say this using UnityEngine.UI; using UnityEngine; using System.Collections; Now we add UnityEngine.UI because now we can reference our UGUI components. Now to the fun part. We are going to change our code to reference the text of our new UGUI text. We have to add a couple of new variables. So at the top of the script after the name of the class , we are going to add public Text newgui; Before if you were to try that, Text wouldn't be able to be referenced and the script would throw back errors. Now before we move on, be sure you place you UGUI text where you want it to appear on the screen. Now in the Void Update we are going to add this. void Update(){ newgui.text=guitext.ToString(); } What this will do is whatever your string is, it will replace the text component of your UGUI. This doesn't have to be strictly kept to string components. Say you have a countdown variable using INT instead. The same rules would apply and instead public int guinumber; public Text number; void Update(){ number.text=guinumber.ToString(); } This can work in conjunction with public GameObject text; void OnTriggerEnter(){ text.SetActive(true); } as to set up say a timer, where the text only shows up when you want it to. Since UGUI can be treated as a GameObject it is amazingly easy to set up the perfect timer, warning screen, ammo counter, anything. I hope this very short tutorial helped you learn some new tricks.
  4. Coming soon on the Asset Store SSS! Is a powerful tool that allowing convert #C to Js or Js to #C
  5. Hi guys. I want to convert a CSharp code to Javascript. It's possible ? The code (CS) : Hashtable setPlayerKills = new Hashtable() {{"Kills", 0}}; PhotonNetwork.player.SetCustomProperties(setPlayerKills); Hashtable setPlayerDeaths = new Hashtable() {{"Deaths", 0}}; PhotonNetwork.player.SetCustomProperties(setPlayerDeaths);
  6. I have been trying to import FPS creator characters with animations for quite some time now and I haven't had any luck. The animations only work in legacy mode and there's smoothing errors all over the mesh. I've tried editing the smooth groups in 3ds max and everything. Here's a pic of the problem I know it's possible to do and I've even asked these guys about it and they insist I've done the right thing I've bought both fragmotion and UU3d and neither give me proper results
  7. I made some models in Google Sketchup and i want to convert them to FBX or any other file format accepted by Unity
×
×
  • Create New...