效果展示 代码
using System.Collections;
using System.Collections.Generic;
using UnityEngine;public class MaterialSwitcher : MonoBehaviour
{public Material newMaterial; // 新材质private Material oldMaterial; // 旧材质private Renderer renderer; // 渲染器组件…
1.首先建立数据库。。。建立一个名为books的数据库,建立一个fs表。
create database if not exists books;
use books;
create table fs(id int unsigned auto_increment primary key ,name varchar(50) not null ,files longblob
);
假如你不喜欢代码建立&#x…