Minimap Kit

General support.
User avatar
Lovatto
Admin
Admin
Posts: 1834
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Your case is a bit strange and I do not understand very well the problem.
How come the change of scene does not work? you use

Code: Select all

DontDestroyOnLoad() 
or something similar with the player?
because if it works in a scene should work on any (if you have the same settings)
How to find your Invoice Number: Here
How to find your Order Number: Here
User avatar
BeNjO
Member
Member
Posts: 12
Joined: Sat Aug 29, 2015 10:34 am

The player prefab are not on the scene in the editor, they are loaded at the character scene, And reloaded per scene so using the script you gave me, and Enabling it via code works, but when you move scene the minimap is frozen and not working, disabling and re-enabling the script dosnt make the minimap work like the first time.

I think its because Start is only called once per run, so not sure how to edit the script to make it run or how to call it via VS.
User avatar
Lovatto
Admin
Admin
Posts: 1834
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

the code that I offered is just one example of how to get the camera and the player in runtime, you must make this call whenever necessary (when moving from scene or change player) can not offer more help this because I do not know how your game works exactly.
How to find your Invoice Number: Here
How to find your Order Number: Here
Post Reply