Exposing spawn points in the Game Controller

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Post Reply
XyrisKenn
Posts: 17
Joined: 20 Nov 2022, 08:32

Exposing spawn points in the Game Controller

Post by XyrisKenn »

I'm building a generalized non-combat Unity package based on the SF2X Shooter example so I can import it into my other projects.
The players' spawn location is in the Transform.java file.

I'd like to expose those locations in the SF2X_GameSceneController so I can set them as needed in the Unity environment. Is that practical to code in?
Or is it best to just customize a java file for each app?
Post Reply