sudo apt install mysql-server mysql # 需要解决Node.js mysql客户端不支持认证协议引起的错误,所以重新添加一个用户 alter user 'root'@'localhost' identified with mysql_native_password by '123456'; create database waline; \u waline source <path/to/your/waline.sql> show tables; \q
#region 控件 public GameObject infoScence; public GameObject infoGameTime; public GameObject infoSaveTime; public GameObject infoLabel; public Image image; public Button m_button; #endregion
#region info publicint ID; publicstring ImagePath; publicbool isSave, isLoad; #endregion
using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; using UnityEngine.UI; using System; using UnityEngine.Localization.Settings; using UnityEngine.Localization.Tables; using UnityEngine.Localization; publicclasssave : MonoBehaviour { #region 控件 public GameObject infoScence; public GameObject infoGameTime; public GameObject infoSaveTime; public GameObject infoLabel; public Image image; public Button m_button; #endregion
#region info publicint ID; publicstring ImagePath; publicbool isSave, isLoad; #endregion
#region 本地化 privatestring lsCurScence, lsGameTime, lsSaveTime, lsAutoSave, lsSave; public LocalizedStringTable stringTable = new LocalizedStringTable { TableReference = "UI" };
voidOnOpenSave(){ isSave = true; UpdateAllSave(); enableCanvas(AllSave); Debug.Log("Save is avaliable"); } voidUpdateAllSave() { // to update the save from disk to UI for (int i = 0; i < AllSaveButtonName.Count; i++) { var asave = AllSaveButton[AllSaveButtonName[i]].GetComponent<save>(); asave.LoadSelf(); asave.SetStatus(isSave,isLoad); } }
HEVC(High Efficiency Video Coding),也称为H.265或H.265/MPEG-H Part 2,是一种视频压缩标准,它是继H.264(AVC)/MPEG-4 Part 10之后的新一代视频编码技术。HEVC旨在提供更高的数据传输效率,即在相同的数据率下实现更高质量的图像,或者在相同的图像质量下减少所需的数据量。
比较早的AVI是微软开发的。其含义是Audio Video Interactive,就是把视频和音频编码混合在一起存储。AVI也是最长寿的格式,首次发布于 1992 年,虽然发布过改版(V2.0于1996年发布),但已显老态。AVI格式上限制比较多,只能有一个视频轨道和一个音频轨道(现在有非标准插件可加入最多两个音频轨道),还可以有一些附加轨道,如文字等。AVI格式不提供任何控制功能。