void Start() { motor = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerMotor>(); }
void Awake() { motor = FindObjectOfType <PlayerMotor>(); aud = FindObjectOfType <SpawnManager>().GetComponent <AudioSource>(); gm = FindObjectOfType <SplitLinerGameManager>(); }