• 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
1
Question by Jochen Kranzer · Jun 15, 2010 at 04:29 AM · asset-serverwizard

commit a scene using a wizard

How can i trigger a commit command from a scriptable wizard?

I have a settings wizard which stores some user information in a scene file. To automatically save the settings i want to:

  1. save the scene (i know how to do that from script)
  2. commit the scene to the asset server (without the need to open the as-window and commit manually)

This way i want to build a simple user-management for use with the asset server which prevents two users working at one scene at the same time (unresolveable confilct when commiting to the asset server).

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by qJake · Jun 15, 2010 at 05:36 AM

Have you looked at the scripting reference for the Asset Database?

http://unity3d.com/support/documentation/ScriptReference/AssetDatabase.html

Surely you could devise a solution with the functions contained in there (possibly with SaveAssets())?

Comment
Add comment · Show 2 · 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 Jochen Kranzer · Jun 15, 2010 at 07:34 AM 0
Share

Yes, ive looked at this. But as i understand, this is for saving assets locally to disk - but i need a commit to the asset server. I couldnt find any information about the asset server.

avatar image qJake · Jun 15, 2010 at 08:21 AM 0
Share

Well then I'm not entirely sure it's possible, since the Asset Server just seems to be an SVN server that's independent of Unity Pro (You can have Unity Pro with or without the Asset Server), so I'm not sure there are any scripting commands that can interact with it. I looked at this page for reference: http://unity3d.com/support/documentation/$$anonymous$$anual/Asset%20Server

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

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

open wizard on scene load 1 Answer

ScriptableWizard and Gizmos 4 Answers

Unable to install Unity Asset Server 2.0 5 Answers

Why does UAS sometimes take a very long time to cache very little? 1 Answer

How to remove project from the Project Wizard 6 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges