private void Start()
 {
     // check persistent data path for database, copy from streaming assets if needed
     DatabasePathChecker.CheckPersistentPath();
     // create connection to database
     sqlhelper = new SQLiteHelper();
 }
示例#2
0
    // Start is called before the first frame update
    void Start()
    {
        // check persistent data path for database, copy from streaming assets if needed
        DatabasePathChecker.CheckPersistentPath();
        // create SQL helper object (opens connection to database, handles db interaction)
        sqlhelper = new SQLiteHelper();

        // create night sky objects
        CreateStars();
        CreateSun();
        CreateConstellationSegments();
    }