Hi! sorry to bother you guys again.
I have a script that tracks the distance between the player and an object before triggering (this would allow me to start all sort of stuff automatically, when the player gets close enough, without the need for triggers). Problem is, AC's player is instantiated, and I need to pass the script the reference for the Game object (or to be precise, the transform.position from the player), so... how do you get the reference for the active player instance? :-/
I've been trying to check the scripting guide but I don't seem to be getting anywhere... so any advice would be greatly appreciated ^:)^
Comments
AC.KickStarter.player;
The KickStarter script has static references for all of AC's key components, Managers included.