コード例 #1
0
        private void Awake()
        {
            scp = FindObjectOfType <SerialControllerPitaco>();
            scm = FindObjectOfType <SerialControllerMano>();
            scc = FindObjectOfType <SerialControllerCinta>();
            sco = FindObjectOfType <SerialControllerOximetro>();


            _minigameOverviewSendDto = new MinigameOverviewSendDto {
                FlowDataRound = new List <FlowDataMinigame>()
            };
            _pitacoLogger   = FindObjectOfType <PitacoLogger>();
            _manoLogger     = FindObjectOfType <ManoLogger>();
            _cintaLogger    = FindObjectOfType <CintaLogger>();
            _oximetroLogger = FindObjectOfType <OximetroLogger>();
        }
コード例 #2
0
        protected override void Awake()
        {
            scp = FindObjectOfType <SerialControllerPitaco>();
            scm = FindObjectOfType <SerialControllerMano>();
            scc = FindObjectOfType <SerialControllerCinta>();
            sco = FindObjectOfType <SerialControllerOximetro>();


            sb.AppendLine("time;tag;instanceId;posX;posY");
            plr             = FindObjectOfType <Player>();
            spwn            = FindObjectOfType <Spawner>();
            scr             = FindObjectOfType <Scorer>();
            _pitacoLogger   = FindObjectOfType <PitacoLogger>();
            _manoLogger     = FindObjectOfType <ManoLogger>();
            _cintaLogger    = FindObjectOfType <CintaLogger>();
            _oximetroLogger = FindObjectOfType <OximetroLogger>();
            FindObjectOfType <StageManager>().OnStageEnd += StopLogging;
        }