コード例 #1
0
        public void Initialize(TrackController controller)
        {
            Swiper.GameController.Instance.ShuffleSymbols();
            CurrentSymbol = Swiper.GameController.Instance.GetRandomSymbol(Handles.Length);
            m_SymbolImageChanger.SetSymbol(CurrentSymbol);


            for (int i = 0; i < Handles.Length; i++)
            {
                if (!Handles[i].Initialized)
                {
                    Handles[i].Initialize(controller);
                }

                Handles[i].AssignSymbol(Swiper.GameController.Instance.GetSymbolFromList(i));
            }
        }
コード例 #2
0
 public void Initialize(TrackController controller)
 {
     m_TrackController = controller;
     Initialized       = true;
     gameObject.SetActive(true);
 }