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(); }
public void Awake() { instance = this; }