예제 #1
0
 public ManagerLevels(ILevelsData data, Transform levelObject)
 {
     _levels      = data.GetLevels;
     _blocks      = data.GetBlocks;
     _levelObject = levelObject;
     _levels.CurrentIndexLevel = 0;
 }
예제 #2
0
        public void InitController(ManagerBalls managerBalls, ManagerLevels managerLevels, ManagerBonuses managerBonuses, ILevelsData data)
        {
            _managerBalls   = managerBalls;
            _managerLevels  = managerLevels;
            _managerBonuses = managerBonuses;
            _levels         = data.GetLevels;
            _blocks         = data.GetBlocks;

            _levels.CurrentIndexLevel = 0;

            _managerLevels.InstantiateLevel();
        }