コード例 #1
0
        public void Initialize(ITargetControllerSettings settings)
        {
            _settings             = settings;
            _currentSettingsModel = 0;

            transform.position = _settings.Position;

            _view.Hide();

            Messenger.AddListener(Signals.GameStartPhase(), OnGameStart);
            Messenger.AddListener <bool>(Signals.GameResultPhase(), OnGameResultPhase);
            Messenger.AddListener <IGameResultModel>(Signals.GameResult(), OnGameResult);
        }