public void Setup() { settings = new BulletToDoDatabase { BulletCollectionName = "BulletData", ConnectionString = "mongodb://*****:*****@localhost:27020/?authSource=admin&authMechanism=SCRAM-SHA-256&readPreference=primary&ssl=false", DatabaseName = "BulletDB" }; service = new BulletService(settings); _notes = new List <BulletNote>(); }
void Start() { PlayerPrefs.SetFloat("Score", 0); bulletService = GetComponent <BulletService>(); }