Exemplo n.º 1
0
        public void Start()
        {
            infiniteObjectGenerator = InfiniteObjectGenerator.instance;
            guiManager = GUIManager.instance;
            dataManager = DataManager.instance;
            audioManager = AudioManager.instance;
            powerUpManager = PowerUpManager.instance;
            missionManager = MissionManager.instance;
            inputController = InputController.instance;
            cameraController = CameraController.instance;
            coinGUICollection = CoinGUICollection.instance;

            Application.runInBackground = runInBackground;
            activeCharacter = -1;
            SpawnCharacter();
            SpawnChaseObject();
        }
Exemplo n.º 2
0
 public void Awake()
 {
     instance = this;
 }