public void RegisterLoadingOfPage() { using (var transaction = Session.BeginTransaction()) { var loading = new Loadings { Time = DateTime.Now }; Session.Save(loading); transaction.Commit(); } }
// Start is called before the first frame update void Start() { loadings = this.gameObject.GetComponent <Loadings>(); }