// Use this for initialization void Start() { // get check for arcade play playerInput = player.GetComponent <PlayerArcadeMachineInput>(); // get check for counter access checkAtPrizeCounter = counterTrigger.GetComponent <PlayerPrizeCounterInput>(); }
// Use this for initialization void Start() { // get check arcade input reference playerArcadeInput = GameObject.Find("Player").GetComponent <PlayerArcadeMachineInput>(); }
// Use this for initialization void Start() { playerInput = player.GetComponent <PlayerArcadeMachineInput>(); }