void Awake() { if (Instance == null) { Instance = this; } else if (Instance != this) { Destroy(gameObject); } SetDbPath(); }
private void CheckDB() { dbModel = (SQLiteItemDBModel)target; dbModel.SetDbPath(); dbExist = File.Exists(dbModel.DB_FULL_PATH); }