Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

For adding a new WarpLocation, is this how we are supposed to do it?
1 Create the file
2 Swap inspector to debug mode
3 manually type in text like location for setter name/etc?

(2 edits) (+1)

Hi Raseru, you are only required to create a new .asset file.
Go to Assets/ScriptableObjects/Locations and right click, Create/Warp Location.

Now all you have to do is create an empty game object, and add a Scene Warper component.
Once you have filled in the Location reference within the Scene Warper component, 
it will automatically update the asset with the location of the scene warper component.

Also don't forget to set the rigidbody to static. And the Box Collider to trigger.
I will ensure this is automated in the next update.

You can test if it works correctly by making another scene warper that has it set as a target and press "Go to target location" on the component. Ensure you have set the spawn location child object correctly, as that is where the player will warp towards.

Hope this helps!

Working great, thanks!