BlockLeftTop, PRELOAD BlockLeftBottom, PRELOAD BlockLeftStretch, PRELOAD BlockTop, PRELOAD BlockBottom, PRELOAD BlockStretch, PRELOAD BlockRightTop, PRELOAD BlockRightBottom, PRELOAD BlockRightStretch, PRELOAD
DeltaEngine

Tutorial zum Schreiben von Scipte für das Programm Unity3D in Visual Studio

by Ferdinand Lange 21. February 2009 09:04

Unity3D benutzt C# Scripte, die man sehr gut in Visual Studio programmieren kann.

In diesem kleinen Tutorial möchte ich euch kurz erläutern, wie ich das gemacht habe.

 

 

Voraussetzungen:

  • Unity

  • Visual Studio

  • Mac

  • Windows

  • FTP-Server für den Mac

 

1.

Zuerst habe ich ein neues Projekt in Unity3D erstellt, mit dem Namen „UnityTest“.

 

2.

Man muss den FTP-Server auf dem Mac einrichten, so das das Root Verzeichnis im aktuellen Projektordner ist, bzw. ,wo die Scripte liegen sollen.

Bei mir liegt das Rootverzeichnis unter „.../UnityTest/Assets /Scripte/“.

 

3.

Um die UnityEngine.dll und UnityEditor.dll zu bekommen, müsst ihr nur in der Mac Konsole Folgendes eingeben:

 

(für Unity3D)

cp /Applications/Unity/Unity.app/Contents/Frameworks/UnityEngine.dll /Users/yourusername/
cp /Applications/Unity/Unity.app/Contents/Frameworks/UnityEditor.dll /Users/yourusername/

(für Unity3D iPhone)

cp /Applications/Unity\ iPhone/Unity\ iPhone.app/Contents/Frameworks/UnityEngine.dll /Users/yourusername/
cp /Applications/Unity\ iPhone/Unity\ iPhone.app/Contents/Frameworks/UnityEngine.dll /Users/yourusername/

 

anschließend findet ihr die beiden Dateien im euren Benutzerordner wieder.

4.

Als nächstes kopiert ihr die soeben erlangten Dateien auf euren Windows PC in einen Ordner eurer Wahl.

 

5.

Nun habe ich ein neues Konsolen Projekt in Visual Studio erstellt und es „UnityScripte“ genannt.

Darauf hin muss man die beiden dll-Dateien zu den Verweisen hinzufügen.

Nun muss man nur noch einen neuen Ordner im Projektverzeichnis mit dem Namen „Scripte“ erstellen und dort werden alle Scripte gespeichert, die wir auch in der Unity Energy benutzten wollen.

 

6.

Als letztes hab ich mit in diesem Projekt ein kleines Tool programmiert mit dem ich die Scriptdateien per FTP auf meinen Mac transferieren kann.

Es muss nur noch die IP mit dem Port und den User so wie das Passwort in der Program.cs eingetragen werden.

Beim Ausführen des Tools (drücken der F5 Taste) werden alle .cs Dateien und Unterordner aus dem Script-Ordner in unsren Projektordner von Unity3D kopiert, danach muss noch kurz die Appeltaste + R (Refresh) in der Unity Energy gedrückt werden und die Änderungen werden aktualisiert.

 

Dieses Tool stelle ich euch zum downloaden bereit: UnityScripte

 

Comments


4/15/2010 8:52:53 PM #

I would like to thank you for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.

Rapidshare Search | Reply



4/20/2010 6:59:05 AM #

I like it very much especially the information you have putted here is like training. Keep the blog up to date. Thanks a lot.

china phone | Reply



4/20/2010 12:00:41 PM #

Good work with the blog. Which platform are you using? I am currently using Wordpress but would like to switch to a different platform.

unity | Reply



4/20/2010 10:19:13 PM #

I admit, I have not been on this webpage in a long time... however it was another joy to see It is such an important topic and ignored by so many, even professionals.

Rapidshare Search Engine | Reply



4/21/2010 6:02:45 PM #

I admit, I have not been on this webpage in a long time... however it was another joy to see It is such an important topic and ignored by so many, even professionals. проститутки Москвы

Проститутки Москвы | Reply



4/21/2010 8:45:15 PM #

I recently came across your article and have been reading along. I want to express my admiration of your writing skill and ability to make readers read from the beginning to the end. I would like to read newer posts and to share my thoughts with you.  элитные проститутки Москвы

Проститутки | Reply



4/21/2010 11:10:34 PM #

Just want to say your article is striking. The clearness in your post is simply spectacular and i can take for granted you are an expert on this field. Well with your permission allow me to grab your rss feed to keep up to date with forthcoming post. Thanks a million and please keep up the effective work. проститутки Москвы

Prostitutki Moskwa | Reply



4/23/2010 2:45:39 PM #

Just want to say your article is striking. The clearness in your post is simply spectacular and i can take for granted you are an expert on this field. Well with your permission allow me to grab your rss feed to keep up to date with forthcoming post. Thanks a million and please keep up the effective work. великолепные проститутки Москвы

Prostitutki Moskwa | Reply



4/23/2010 3:40:59 PM #

Just want to say your article is striking. The clearness in your post is simply spectacular and i can take for granted you are an expert on this field. Well with your permission allow me to grab your rss feed to keep up to date with forthcoming post. Thanks a million and please keep up the effective work. незабываемые проститутки Москвы

Prostitutki Moskwa | Reply



4/24/2010 9:41:49 PM #

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me. Rapidshare search services

Rapidshare search engine | Reply



4/25/2010 9:12:17 PM #

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me. Texas Holdem poker

Texas Holdem | Reply



4/28/2010 12:47:19 AM #

I\'m happy I found this blog, I couldnt discover any info on this subject matter prior to. I also run a site and if you want to ever serious in a little bit of guest writing for me if possible feel free to let me know, i\'m always look for people to check out my site. Please stop by and leave a comment sometime!

Rapidshare | Reply



4/29/2010 1:20:43 PM #

Great works are performed, not by strength, but by perseverance.

payday loans | Reply



4/30/2010 11:49:27 AM #

Whether you think you can or whether you think you can't, you're right!

online personal loans | Reply



5/4/2010 7:37:56 AM #

Good post, I really enjoyed reading your blog posts, you used a nice platform,

I understand whole matter.

Any way I'll be subscribing to your feed and I hope you post again soon.

Thanks Smile

Watch Free TV | Reply



5/4/2010 6:11:58 PM #

Top Rapidshare Search engine

Rapidshare Search engine | Reply


Add comment




biuquote
  • Comment
  • Preview
Loading



Disclaimer: The opinions expressed in this blog are own personal opinions and do not represent the companies view.
© 2000-2011 exDream GmbH & MobileBits GmbH. All rights reserved. Legal/Impressum

Poll

Which platform should Soulcraft be released on next?











Show Results Poll Archive

Recent Games

Soulcraft

Fireburst

Jobs @ exDream

Calendar

<<  May 2012  >>
MoTuWeThFrSaSu
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910