This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import type { Adapter, DatabaseSession, DatabaseUser, UserId } from "lucia"; | |
| export interface Database { | |
| users: Map<UserId, DatabaseUser>; | |
| sessions: Map<string, DatabaseSession>; | |
| } | |
| export class MapAdapter implements Adapter { | |
| private readonly _database: Database; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * text=auto | |
| # Unity files | |
| *.meta -text -merge=unityamlmerge | |
| *.unity -text -merge=unityamlmerge | |
| *.asset -text -merge=unityamlmerge | |
| *.prefab -text -merge=unityamlmerge | |
| # Image formats | |
| *.psd filter=lfs diff=lfs merge=lfs -text |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| class CreateObjectAtRuntime : MonoBehaviour | |
| { | |
| void Start() | |
| { | |
| var go = new GameObject { name = "CreatedAtRuntime" }; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // DotNet Core 3.1 | |
| using System; | |
| using System.Net; | |
| using System.IO; | |
| // https://play.retro-mmo.com/res/images/tilesheets/cave.png | |
| // tilesheets/cave.png | |
| namespace Downloader |