分类 默认分类 下的文章

RIVET
https://rivet.cloud/
Visit website to get API key

Alchemy
https://alchemyapi.io
Visit website to get API key

Infura
https://infura.io
Visit website to get API key

Moralis
https://moralis.io
Visit website to get API key

Flashbots Protect
https://flashbots.net5
https://rpc.flashbots.net

Cloudflare
https://cloudflare-eth.com

LinkPool
https://linkpool.io

QuickNode
https://quicknode.com

MyEtherWallet
https://myetherwallet.com

Ankr
https://ankr.com

MyCrypto
https://mycrypto.com

ArchiveNode
https://archivenode.io

Chainstack
https://chainstack.com/
Visit website to get API key

Flux
https://runonflux.io/
https://ethereumnodelight.app.runonflux.io

Omnia
https://omniatech.io/
Visit website to get API key

1. 在自己的资源目录Scenes目录新建场景(1个或者多个)
333.png
2. 在Unity中 File->Build Settings->把要切换的场景添加到Scenes In Build下面,也可以Add Open Scenes,添加完关闭这个页面,不用点 Build 或者 Build And Run(这个时直接打包成执行文件的)
111.png

3. 添加进来

222.png

4. 代码示例

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;//切换场景,必须要引用此类

public class SceneTransform : MonoBehaviour {
    void Update () {
     if (Input.GetKey("n")) {
            SceneManager.LoadScene("SceneName");//加载场景 场景名字
        }
    }
}