Hi, Jean
The "CheckPoints" scene file really helped me a lot, not 100% understand though.
I played and stopped game, and play again... the player got position at last checkpoint!
That is what I want!
Thank you!
and ... Questions!
1.There is an Inspector called "Play Maker Array List Proxy(Scrip) from
CheckPoint Manager GameObject. Prefill count is set 6 and each Item is set as CheckPoint+Num.
Does 'Item 5 = CheckPoint 6' tell FinalCheckPoint and does it make 'Reset Game'?
(see image "arrayProxy.jpg")2.I'm wondering the Variable called "PlayerPref Last CheckPoint Key", and the var is setting as
'String'. That var is used as the 'Key' in "PlayerPrefs Get Int". Maybe this function can do SAVE the game status, but why the 'Key' is using 'String'? I know 'String' var is usually using for text, by the way, is the 'Key' somekind of "SAVE FILE"?
3.'Array List Get' function in FSM looks connected with "Play Maker Array List Proxy
(Script)" Do I understand correctly?
(see image "arrayProxy1.jpg")4.Finally, my game has many stage scene files, and I'm thinking creating CheckPoint manager GameObject in separate scene file (For example, stageManager or in SelectStage scene file.)
Is it possible 'global send event' can do communicate
between different scene files?5.I searched
'PlayerPrefs' options from Unity Forum, and the document tells the savedata file is located is different from web, PC and Mac version each other. When I build my game for mobile devices (iOS and Android),
do I have to concern about savedata file location?Question is a lot, I will be very happy when I see your reply.
Thank you.
Lee