• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by ad48hp · Dec 13, 2013 at 04:32 PM · external-tools

Unity command-line scene external tool needed.

Hello. I need a command-line external tool to making scenes.

Example (

1.Create a text file with this

(

Player

0

0

0

)

2.Convert using external tool text file to scene with player prefab on position x-0,y-0,z-0.

)

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Spinnernicholas · Dec 13, 2013 at 04:35 PM 0
Share

Don't do it that way. You should create a unity asset pipeline importer that does that.

You would just put the text file into your assets and set it to use your importer.

avatar image ad48hp · Dec 14, 2013 at 11:15 AM 0
Share

Thanks,i find pages about that.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by ad48hp · Oct 28, 2014 at 01:25 PM

Finally! http://docs.unity3d.com/Manual/TextualSceneFormat.html

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by robertbu · Dec 13, 2013 at 04:35 PM

I don't know about an external tool, but you can write an editor script that reads in a file and based on that file creates objects in your scene. Rather than the format you have here, I'd recommend a Comma Separated Value file if not XML for input.

In the editor, all .NET file I/O commands are available. Here is a link on creating an Editor Window:

http://docs.unity3d.com/Documentation/Components/editor-EditorWindows.html

Comment
Add comment · Show 20 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ad48hp · Dec 14, 2013 at 11:03 AM 0
Share

Thanks,i test it.

avatar image ad48hp · Dec 14, 2013 at 11:04 AM 0
Share

I test import some dll to exe.

avatar image ad48hp · Dec 14, 2013 at 11:12 AM 0
Share

I import UnityEngine.dll to my console vb.net application. What now?!

avatar image robertbu · Dec 14, 2013 at 03:20 PM 0
Share

I have no idea what you are doing. I'm suggesting a editor extension inside of Unity that loads and parses a text file. So you would run Unity then execute your code from within Unity. The link I provided shows you how to extend the editor with your own code.

avatar image ad48hp · Dec 15, 2013 at 10:38 AM 0
Share

I don´t know anything about unity extensions. I want make unity scene using a command-line tool,not unity.

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

17 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to set Visual Studio 2010 as default script editor in Unity 6 Answers

UnityYAMLMerge: File is not a valid text serialization YAML file 1 Answer

Double Clicking Errors/Output In The Console Triggered By External Assemblies 0 Answers

Unity with SignalR 1 Answer

Is "External Script Editor Args" a Pro feature only? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges