x


Save Position script.

Im working on an adventure game, where you have to get from one point to the other. So i cant use a save state, i need a save position. Can anyone help me?

more ▼

asked Jul 18 '10 at 12:32 PM

user-3686 (google) gravatar image

user-3686 (google)
1 1 1 1

(comments are locked)
10|3000 characters needed characters left

2 answers: sort oldest

Use this:

http://www.unifycommunity.com/wiki/index.php?title=ArrayPrefs

It'll let you store a Vector3 by name, so you can retrieve it later

more ▼

answered Jul 18 '10 at 01:08 PM

Mike 3 gravatar image

Mike 3
30.5k 10 65 252

(comments are locked)
10|3000 characters needed characters left

I use PlayerPrefs, and asked a similar question earlier HERE.

It has a working example of saving a players position. It should help you get an Idea of how to actually impliment the saving and loading by calling the functions in the script.

Hope it helps.(if it works for ya maybe give a brother an upvote, and click the answer checkmark.:))

more ▼

answered Jul 13 '12 at 03:30 AM

kurotatsu gravatar image

kurotatsu
58 1 5 5

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x5051
x3717
x794
x435

asked: Jul 18 '10 at 12:32 PM

Seen: 1982 times

Last Updated: Jul 13 '12 at 06:55 AM