Jump to content
Unity Insider Forum

Objekte während des Spieles erstellen und platzieren?


Grombou
 Share

Recommended Posts

Prefabs: http://docs.unity3d.com/Manual/Prefabs.html

Damit kannst du Gameobjecte "speichern", sprich alles was du an einem Gameobject verändert hast wird hier beibehalten.

 

Instantiate: http://docs.unity3d.com/ScriptReference/Object.Instantiate.html

Damit kannst du Gameobjecte kopieren und in der Spielwelt platzieren, nun kombiniere diese beiden und du kannst Objekte zur Laufzeit generieren.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...