protected override void onAwake() { base.onAwake(); if (!db.IsConnected) { db.Connect(Path.Combine(Application.persistentDataPath, dbFileName)); } }