feat: 初始化
|
|
@ -1,2 +0,0 @@
|
||||||
[InternetShortcut]
|
|
||||||
URL=https://docs.cocos.com/creator/manual/en/scripting/setup.html#custom-script-template
|
|
||||||
|
|
@ -1,79 +0,0 @@
|
||||||
import Web3 from 'web3/dist/web3.min.js';
|
|
||||||
import {ContractABI} from "db://assets/scripts/WalletSDK/ABI";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Predefined variables
|
|
||||||
* Name = WalletUtils
|
|
||||||
* DateTime = Fri Aug 26 2022 18:07:14 GMT+0800 (中国标准时间)
|
|
||||||
* Author = 阿离我的
|
|
||||||
* FileBasename = WalletUtils.ts
|
|
||||||
* FileBasenameNoExtension = WalletUtils
|
|
||||||
* URL = db://assets/scripts/WalletSdk/WalletUtils.ts
|
|
||||||
* ManualUrl = https://docs.cocos.com/creator/3.4/manual/zh/
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
// 钱包sdk类型
|
|
||||||
export enum WalletSdkType {
|
|
||||||
Web, // 网页端 mobile pc
|
|
||||||
Native, // 原生端 android ios
|
|
||||||
}
|
|
||||||
|
|
||||||
// 钱包连接类型
|
|
||||||
export enum WalletConnectType {
|
|
||||||
Api, // api连接
|
|
||||||
QRCode, // 二维码连接
|
|
||||||
}
|
|
||||||
|
|
||||||
// 钱包类型
|
|
||||||
export enum WalletType {
|
|
||||||
MetaMask,
|
|
||||||
TronLink,
|
|
||||||
IMToken,
|
|
||||||
TokenPocket,
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface IWalletSdk {
|
|
||||||
init(): Promise<void>;
|
|
||||||
|
|
||||||
connect(): any;
|
|
||||||
|
|
||||||
customSignRequest(): any;
|
|
||||||
|
|
||||||
customRequest(from: string, contractAddress: string, fnName: string, ...args: any[]): any;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const web3 = new Web3();
|
|
||||||
|
|
||||||
// 补齐64位,不够前面用0补齐
|
|
||||||
function addPreZero(num: string) {
|
|
||||||
return num.toString().padStart(64, '0');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 发起合约请求
|
|
||||||
* @param from 调用者的地址
|
|
||||||
* @param contractAddress 合约地址
|
|
||||||
* @param fnName ABI内type为function的可调用函数名
|
|
||||||
* @param args 参数列表
|
|
||||||
*/
|
|
||||||
export function createRequestData(from: string, contractAddress: string, fnName: string, ...args: any[]) {
|
|
||||||
// 查找对应方法并获取对应的函数签名
|
|
||||||
const functionInfo = ContractABI.find((item) => item.type === 'function' && item.name === fnName);
|
|
||||||
// @ts-ignore
|
|
||||||
const functionSignature = web3.eth.abi.encodeFunctionSignature(functionInfo);
|
|
||||||
|
|
||||||
// 发起请求
|
|
||||||
return {
|
|
||||||
// 注意这里是代币合约地址
|
|
||||||
from,
|
|
||||||
to: contractAddress,
|
|
||||||
// 调用合约转账value这里留空
|
|
||||||
value: "",
|
|
||||||
// data的组成,由:0x + 要调用的合约方法的function signature + 要传递的方法参数,每个参数都为64位(去掉前面0x,然后补齐为64位)
|
|
||||||
data: functionSignature + args.map((v) => addPreZero(web3.utils.toHex(v).substring(2))).join(''),
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
@ -1,82 +0,0 @@
|
||||||
import { _decorator, Component, Node, native } from "cc";
|
|
||||||
const { ccclass, property } = _decorator;
|
|
||||||
import { createRequestData } from "./WalletSdkUtils";
|
|
||||||
|
|
||||||
@ccclass("btn_click")
|
|
||||||
export class btn_click extends Component {
|
|
||||||
start() { }
|
|
||||||
|
|
||||||
update(deltaTime: number) { }
|
|
||||||
/**
|
|
||||||
* btn_onclick
|
|
||||||
*/
|
|
||||||
public btn_onclick() {
|
|
||||||
console.info("点击了按钮");
|
|
||||||
// @ts-ignore
|
|
||||||
var ret = native.reflection.callStaticMethod("JSHandleClass", "init");
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 启动连接
|
|
||||||
*/
|
|
||||||
public btn_onclick1() {
|
|
||||||
console.info("点击了按钮");
|
|
||||||
var ret = native.reflection.callStaticMethod(
|
|
||||||
"JSHandleClass",
|
|
||||||
"walleConnectFun:",
|
|
||||||
"imtokenv2"
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
//发送交易
|
|
||||||
public async btn_onclick2() {
|
|
||||||
console.info("点击了按钮");
|
|
||||||
var temp = createRequestData(
|
|
||||||
"0x4eDE150f62dc21aDC0F39a2A02c95A5Cc1FD7B2C",
|
|
||||||
"0x62cC9fd83d48eFCe313695bA6a3245bCCC7f196e",
|
|
||||||
"Mint",
|
|
||||||
"0x4eDE150f62dc21aDC0F39a2A02c95A5Cc1FD7B2C",
|
|
||||||
);
|
|
||||||
var jsonObj = {
|
|
||||||
"method": "eth_sendTransaction",
|
|
||||||
"params": JSON.stringify(temp)
|
|
||||||
};
|
|
||||||
var jsonStr = JSON.stringify(jsonObj);
|
|
||||||
///0x2eB535d54382eA5CED9183899916A9d39e093877
|
|
||||||
|
|
||||||
var ret = native.reflection.callStaticMethod(
|
|
||||||
"JSHandleClass",
|
|
||||||
"sendContractFun:",
|
|
||||||
jsonStr
|
|
||||||
);
|
|
||||||
}
|
|
||||||
public async btn_onclick3() {
|
|
||||||
// console.info("点击了按钮");
|
|
||||||
// var temp = createRequestData(
|
|
||||||
// "0x4eDE150f62dc21aDC0F39a2A02c95A5Cc1FD7B2C",
|
|
||||||
// "0x62cC9fd83d48eFCe313695bA6a3245bCCC7f196e",
|
|
||||||
// "",
|
|
||||||
// "Mint",
|
|
||||||
// "0x4eDE150f62dc21aDC0F39a2A02c95A5Cc1FD7B2C",
|
|
||||||
// );
|
|
||||||
// var jsonObj = {
|
|
||||||
// "method": "eth_sendTransaction",
|
|
||||||
// "params": JSON.stringify(temp)
|
|
||||||
// };
|
|
||||||
var jsonObj = {
|
|
||||||
"method": "personal_sign",
|
|
||||||
"params": [
|
|
||||||
"0x49206861766520313030e282ac",
|
|
||||||
"0x2eB535d54382eA5CED9183899916A9d39e093877"
|
|
||||||
]
|
|
||||||
};
|
|
||||||
var jsonStr = JSON.stringify(jsonObj);
|
|
||||||
///0x2eB535d54382eA5CED9183899916A9d39e093877
|
|
||||||
|
|
||||||
var ret = native.reflection.callStaticMethod(
|
|
||||||
"JSHandleClass",
|
|
||||||
"sendMessageFun:",
|
|
||||||
jsonStr
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"importer": "directory",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "bcb14f34-8131-435f-a8f5-29612c45af59",
|
|
||||||
"files": [],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"compressionType": {},
|
|
||||||
"isRemoteBundle": {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,34 +0,0 @@
|
||||||
{
|
|
||||||
"__type__": "cc.Material",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_native": "",
|
|
||||||
"_effectAsset": {
|
|
||||||
"__uuid__": "a3cd009f-0ab0-420d-9278-b9fdab939bbc"
|
|
||||||
},
|
|
||||||
"_techIdx": 0,
|
|
||||||
"_defines": [
|
|
||||||
{
|
|
||||||
"USE_TEXTURE": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_states": [
|
|
||||||
{
|
|
||||||
"blendState": {
|
|
||||||
"targets": [
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"depthStencilState": {},
|
|
||||||
"rasterizerState": {}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_props": [
|
|
||||||
{
|
|
||||||
"mainTexture": {
|
|
||||||
"__uuid__": "dc4a96c7-321a-48af-81e5-1127ad3ae432@6c48a"
|
|
||||||
},
|
|
||||||
"alphaThreshold": 0
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.0.13",
|
|
||||||
"importer": "material",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "482a5162-dad9-446c-b548-8486c7598ee1",
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {}
|
|
||||||
}
|
|
||||||
|
|
@ -1,34 +0,0 @@
|
||||||
{
|
|
||||||
"__type__": "cc.Material",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_native": "",
|
|
||||||
"_effectAsset": {
|
|
||||||
"__uuid__": "a3cd009f-0ab0-420d-9278-b9fdab939bbc"
|
|
||||||
},
|
|
||||||
"_techIdx": 0,
|
|
||||||
"_defines": [
|
|
||||||
{
|
|
||||||
"USE_TEXTURE": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_states": [
|
|
||||||
{
|
|
||||||
"blendState": {
|
|
||||||
"targets": [
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"depthStencilState": {},
|
|
||||||
"rasterizerState": {}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_props": [
|
|
||||||
{
|
|
||||||
"mainTexture": {
|
|
||||||
"__uuid__": "4f4c4a34-2d08-4a4d-9169-834d7ce82cee@6c48a"
|
|
||||||
},
|
|
||||||
"alphaThreshold": 0
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.0.13",
|
|
||||||
"importer": "material",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "23e988d0-7168-4fe2-9d46-f29c114e9e33",
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {}
|
|
||||||
}
|
|
||||||
|
|
@ -1,42 +0,0 @@
|
||||||
{
|
|
||||||
"__type__": "cc.Material",
|
|
||||||
"_name": "seafloor",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_native": "",
|
|
||||||
"_effectAsset": {
|
|
||||||
"__uuid__": "1baf0fc9-befa-459c-8bdd-af1a450a0319"
|
|
||||||
},
|
|
||||||
"_techIdx": 0,
|
|
||||||
"_defines": [
|
|
||||||
{
|
|
||||||
"USE_ALBEDO_MAP": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_states": [
|
|
||||||
{
|
|
||||||
"rasterizerState": {},
|
|
||||||
"blendState": {
|
|
||||||
"targets": [
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"depthStencilState": {}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_props": [
|
|
||||||
{
|
|
||||||
"mainTexture": {
|
|
||||||
"__uuid__": "0ab3142a-6968-4073-95af-026bc3b23623@2df3a"
|
|
||||||
},
|
|
||||||
"albedoScale": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 1,
|
|
||||||
"y": 1,
|
|
||||||
"z": 1
|
|
||||||
},
|
|
||||||
"metallic": 0.400000005960464,
|
|
||||||
"roughness": 0.70710676908493,
|
|
||||||
"alphaThreshold": 0
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.0.13",
|
|
||||||
"importer": "material",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "70d33758-1c1e-424d-b0ab-eac7410559bf",
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {}
|
|
||||||
}
|
|
||||||
|
|
@ -1,62 +0,0 @@
|
||||||
{
|
|
||||||
"__type__": "cc.Material",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_native": "",
|
|
||||||
"_effectAsset": {
|
|
||||||
"__uuid__": "1baf0fc9-befa-459c-8bdd-af1a450a0319"
|
|
||||||
},
|
|
||||||
"_techIdx": 0,
|
|
||||||
"_defines": [
|
|
||||||
{
|
|
||||||
"USE_ALBEDO_MAP": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"USE_ALBEDO_MAP": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"USE_ALBEDO_MAP": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_states": [
|
|
||||||
{
|
|
||||||
"blendState": {
|
|
||||||
"targets": [
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"depthStencilState": {},
|
|
||||||
"rasterizerState": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"blendState": {
|
|
||||||
"targets": [
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"depthStencilState": {},
|
|
||||||
"rasterizerState": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"blendState": {
|
|
||||||
"targets": [
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"depthStencilState": {},
|
|
||||||
"rasterizerState": {}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_props": [
|
|
||||||
{
|
|
||||||
"alphaThreshold": 0,
|
|
||||||
"roughness": 0.70710676908493,
|
|
||||||
"metallic": 0.400000005960464,
|
|
||||||
"mainTexture": {
|
|
||||||
"__uuid__": "95e5b02a-e338-423c-bdbb-17486db1d9eb@6c48a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{},
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.0.13",
|
|
||||||
"importer": "material",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "8e047178-f61c-4322-a2f6-d1adb28b6ae2",
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {}
|
|
||||||
}
|
|
||||||
|
|
@ -1,83 +0,0 @@
|
||||||
{
|
|
||||||
"__type__": "cc.Material",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_native": "",
|
|
||||||
"_effectAsset": {
|
|
||||||
"__uuid__": "a7612b54-35e3-4238-a1a9-4a7b54635839"
|
|
||||||
},
|
|
||||||
"_techIdx": 0,
|
|
||||||
"_defines": [
|
|
||||||
{
|
|
||||||
"USE_OUTLINE_PASS": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"USE_BASE_COLOR_MAP": true,
|
|
||||||
"BASE_COLOR_MAP_AS_SHADE_MAP_1": true,
|
|
||||||
"BASE_COLOR_MAP_AS_SHADE_MAP_2": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"USE_BASE_COLOR_MAP": true,
|
|
||||||
"BASE_COLOR_MAP_AS_SHADE_MAP_1": true,
|
|
||||||
"BASE_COLOR_MAP_AS_SHADE_MAP_2": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"USE_BASE_COLOR_MAP": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_states": [
|
|
||||||
{
|
|
||||||
"blendState": {
|
|
||||||
"targets": [
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"depthStencilState": {},
|
|
||||||
"rasterizerState": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"blendState": {
|
|
||||||
"targets": [
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"depthStencilState": {},
|
|
||||||
"rasterizerState": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"blendState": {
|
|
||||||
"targets": [
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"depthStencilState": {},
|
|
||||||
"rasterizerState": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"blendState": {
|
|
||||||
"targets": [
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"depthStencilState": {},
|
|
||||||
"rasterizerState": {}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_props": [
|
|
||||||
{},
|
|
||||||
{
|
|
||||||
"specular": {
|
|
||||||
"__type__": "cc.Color",
|
|
||||||
"r": 255,
|
|
||||||
"g": 255,
|
|
||||||
"b": 255,
|
|
||||||
"a": 0
|
|
||||||
},
|
|
||||||
"mainTexture": {
|
|
||||||
"__uuid__": "6f891a7b-5a08-48e6-9841-ddb364ac86b1@6c48a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{},
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.0.13",
|
|
||||||
"importer": "material",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "8a58ddec-f437-40b9-8ec0-1fc87de97fb5",
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {}
|
|
||||||
}
|
|
||||||
|
|
@ -1,83 +0,0 @@
|
||||||
{
|
|
||||||
"__type__": "cc.Material",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_native": "",
|
|
||||||
"_effectAsset": {
|
|
||||||
"__uuid__": "a7612b54-35e3-4238-a1a9-4a7b54635839"
|
|
||||||
},
|
|
||||||
"_techIdx": 0,
|
|
||||||
"_defines": [
|
|
||||||
{
|
|
||||||
"USE_OUTLINE_PASS": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"USE_BASE_COLOR_MAP": true,
|
|
||||||
"BASE_COLOR_MAP_AS_SHADE_MAP_1": true,
|
|
||||||
"BASE_COLOR_MAP_AS_SHADE_MAP_2": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"USE_BASE_COLOR_MAP": true,
|
|
||||||
"BASE_COLOR_MAP_AS_SHADE_MAP_1": true,
|
|
||||||
"BASE_COLOR_MAP_AS_SHADE_MAP_2": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"USE_BASE_COLOR_MAP": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_states": [
|
|
||||||
{
|
|
||||||
"blendState": {
|
|
||||||
"targets": [
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"depthStencilState": {},
|
|
||||||
"rasterizerState": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"blendState": {
|
|
||||||
"targets": [
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"depthStencilState": {},
|
|
||||||
"rasterizerState": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"blendState": {
|
|
||||||
"targets": [
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"depthStencilState": {},
|
|
||||||
"rasterizerState": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"blendState": {
|
|
||||||
"targets": [
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"depthStencilState": {},
|
|
||||||
"rasterizerState": {}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_props": [
|
|
||||||
{},
|
|
||||||
{
|
|
||||||
"specular": {
|
|
||||||
"__type__": "cc.Color",
|
|
||||||
"r": 255,
|
|
||||||
"g": 255,
|
|
||||||
"b": 255,
|
|
||||||
"a": 0
|
|
||||||
},
|
|
||||||
"mainTexture": {
|
|
||||||
"__uuid__": "0718d996-39bf-4ab4-bb63-496666fef467@6c48a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{},
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.0.13",
|
|
||||||
"importer": "material",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "a155f93b-7769-4ca4-b75f-b13e52193859",
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {}
|
|
||||||
}
|
|
||||||
|
|
@ -1,83 +0,0 @@
|
||||||
{
|
|
||||||
"__type__": "cc.Material",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_native": "",
|
|
||||||
"_effectAsset": {
|
|
||||||
"__uuid__": "a7612b54-35e3-4238-a1a9-4a7b54635839"
|
|
||||||
},
|
|
||||||
"_techIdx": 0,
|
|
||||||
"_defines": [
|
|
||||||
{
|
|
||||||
"USE_OUTLINE_PASS": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"USE_BASE_COLOR_MAP": true,
|
|
||||||
"BASE_COLOR_MAP_AS_SHADE_MAP_1": true,
|
|
||||||
"BASE_COLOR_MAP_AS_SHADE_MAP_2": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"USE_BASE_COLOR_MAP": true,
|
|
||||||
"BASE_COLOR_MAP_AS_SHADE_MAP_1": true,
|
|
||||||
"BASE_COLOR_MAP_AS_SHADE_MAP_2": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"USE_BASE_COLOR_MAP": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_states": [
|
|
||||||
{
|
|
||||||
"blendState": {
|
|
||||||
"targets": [
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"depthStencilState": {},
|
|
||||||
"rasterizerState": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"blendState": {
|
|
||||||
"targets": [
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"depthStencilState": {},
|
|
||||||
"rasterizerState": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"blendState": {
|
|
||||||
"targets": [
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"depthStencilState": {},
|
|
||||||
"rasterizerState": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"blendState": {
|
|
||||||
"targets": [
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"depthStencilState": {},
|
|
||||||
"rasterizerState": {}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_props": [
|
|
||||||
{},
|
|
||||||
{
|
|
||||||
"specular": {
|
|
||||||
"__type__": "cc.Color",
|
|
||||||
"r": 255,
|
|
||||||
"g": 255,
|
|
||||||
"b": 255,
|
|
||||||
"a": 0
|
|
||||||
},
|
|
||||||
"mainTexture": {
|
|
||||||
"__uuid__": "c5083e75-ad2e-4ea9-8b33-dee748995b00@6c48a"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{},
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.0.13",
|
|
||||||
"importer": "material",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "7bf9df40-4bc9-4e25-8cb0-9a500f949102",
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {}
|
|
||||||
}
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"importer": "directory",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "1ddc11ba-ecbd-4472-841c-f3777cb248da",
|
|
||||||
"files": [],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"compressionType": {},
|
|
||||||
"isRemoteBundle": {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"importer": "directory",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "e00862a8-c500-427c-b76f-bbe5203f19cc",
|
|
||||||
"files": [],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"compressionType": {},
|
|
||||||
"isRemoteBundle": {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,157 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "2.3.0",
|
|
||||||
"importer": "fbx",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "aade09ee-8f9d-413c-a9e8-8c686ea5e160",
|
|
||||||
"files": [
|
|
||||||
"__original-animation-0.cconb"
|
|
||||||
],
|
|
||||||
"subMetas": {
|
|
||||||
"ef5e1": {
|
|
||||||
"importer": "gltf-mesh",
|
|
||||||
"uuid": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "ef5e1",
|
|
||||||
"name": "grass.mesh",
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".bin",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"73b7f": {
|
|
||||||
"importer": "gltf-animation",
|
|
||||||
"uuid": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "73b7f",
|
|
||||||
"name": "Take 001.animation",
|
|
||||||
"ver": "1.0.16",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".cconb"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"events": [],
|
|
||||||
"gltfIndex": 0,
|
|
||||||
"sample": 30,
|
|
||||||
"span": {
|
|
||||||
"from": 0,
|
|
||||||
"to": 3.3333332538604736
|
|
||||||
},
|
|
||||||
"wrapMode": 2,
|
|
||||||
"speed": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"438fe": {
|
|
||||||
"importer": "gltf-skeleton",
|
|
||||||
"uuid": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "438fe",
|
|
||||||
"name": "UnnamedSkeleton.skeleton",
|
|
||||||
"ver": "1.0.1",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 0,
|
|
||||||
"jointsLength": 6
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"9787f": {
|
|
||||||
"importer": "texture",
|
|
||||||
"uuid": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@9787f",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "9787f",
|
|
||||||
"name": "grass.texture",
|
|
||||||
"ver": "1.0.22",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "none",
|
|
||||||
"premultiplyAlpha": false,
|
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": false,
|
|
||||||
"imageUuidOrDatabaseUri": "db://assets/model/helloWorld/grass/grass.png"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"3022b": {
|
|
||||||
"importer": "gltf-scene",
|
|
||||||
"uuid": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@3022b",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "3022b",
|
|
||||||
"name": "grass.prefab",
|
|
||||||
"ver": "1.0.12",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"userData": {
|
|
||||||
"imageMetas": [
|
|
||||||
{
|
|
||||||
"name": "grass",
|
|
||||||
"uri": "db://assets/model/helloWorld/grass/grass.png"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"animationImportSettings": [
|
|
||||||
{
|
|
||||||
"name": "Take 001",
|
|
||||||
"duration": 3.3333332538604736,
|
|
||||||
"fps": 30,
|
|
||||||
"splits": [
|
|
||||||
{
|
|
||||||
"name": "Take 001",
|
|
||||||
"from": 0,
|
|
||||||
"to": 3.3333332538604736,
|
|
||||||
"wrapMode": 2
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"redirect": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@3022b",
|
|
||||||
"assetFinder": {
|
|
||||||
"meshes": [
|
|
||||||
"aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1"
|
|
||||||
],
|
|
||||||
"skeletons": [
|
|
||||||
"aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe"
|
|
||||||
],
|
|
||||||
"textures": [
|
|
||||||
"aade09ee-8f9d-413c-a9e8-8c686ea5e160@9787f"
|
|
||||||
],
|
|
||||||
"materials": [
|
|
||||||
"b698e55a-b00b-4987-a8b4-af83cddc59f7"
|
|
||||||
],
|
|
||||||
"scenes": [
|
|
||||||
"aade09ee-8f9d-413c-a9e8-8c686ea5e160@3022b"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"useVertexColors": true,
|
|
||||||
"dumpMaterials": true,
|
|
||||||
"materialDumpDir": "db://assets/model/helloWorld/grass",
|
|
||||||
"legacyFbxImporter": true,
|
|
||||||
"fbx": {
|
|
||||||
"smartMaterialEnabled": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,34 +0,0 @@
|
||||||
{
|
|
||||||
"__type__": "cc.Material",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_native": "",
|
|
||||||
"_effectAsset": {
|
|
||||||
"__uuid__": "a3cd009f-0ab0-420d-9278-b9fdab939bbc"
|
|
||||||
},
|
|
||||||
"_techIdx": 0,
|
|
||||||
"_defines": [
|
|
||||||
{
|
|
||||||
"USE_TEXTURE": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_states": [
|
|
||||||
{
|
|
||||||
"blendState": {
|
|
||||||
"targets": [
|
|
||||||
{}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"depthStencilState": {},
|
|
||||||
"rasterizerState": {}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_props": [
|
|
||||||
{
|
|
||||||
"mainTexture": {
|
|
||||||
"__uuid__": "ae18deea-c6e0-4a3d-bf70-ee5533f9ba87@6c48a"
|
|
||||||
},
|
|
||||||
"alphaThreshold": 0
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.0.13",
|
|
||||||
"importer": "material",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "b698e55a-b00b-4987-a8b4-af83cddc59f7",
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {}
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 13 KiB |
|
|
@ -1,43 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.0.24",
|
|
||||||
"importer": "image",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "ae18deea-c6e0-4a3d-bf70-ee5533f9ba87",
|
|
||||||
"files": [
|
|
||||||
".json",
|
|
||||||
".png"
|
|
||||||
],
|
|
||||||
"subMetas": {
|
|
||||||
"6c48a": {
|
|
||||||
"importer": "texture",
|
|
||||||
"uuid": "ae18deea-c6e0-4a3d-bf70-ee5533f9ba87@6c48a",
|
|
||||||
"displayName": "grass",
|
|
||||||
"id": "6c48a",
|
|
||||||
"name": "texture",
|
|
||||||
"ver": "1.0.22",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "linear",
|
|
||||||
"premultiplyAlpha": false,
|
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": true,
|
|
||||||
"imageUuidOrDatabaseUri": "ae18deea-c6e0-4a3d-bf70-ee5533f9ba87",
|
|
||||||
"visible": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"userData": {
|
|
||||||
"type": "texture",
|
|
||||||
"redirect": "ae18deea-c6e0-4a3d-bf70-ee5533f9ba87@6c48a",
|
|
||||||
"hasAlpha": false,
|
|
||||||
"fixAlphaTransparencyArtifacts": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,590 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"__type__": "cc.Prefab",
|
|
||||||
"_name": "grass",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_native": "",
|
|
||||||
"data": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"optimizationPolicy": 0,
|
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"persistent": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_name": "grass",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_parent": null,
|
|
||||||
"_children": [
|
|
||||||
{
|
|
||||||
"__id__": 2
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_active": true,
|
|
||||||
"_components": [
|
|
||||||
{
|
|
||||||
"__id__": 21
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 23
|
|
||||||
},
|
|
||||||
"_lpos": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_lrot": {
|
|
||||||
"__type__": "cc.Quat",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0,
|
|
||||||
"w": 1
|
|
||||||
},
|
|
||||||
"_lscale": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 1,
|
|
||||||
"y": 1,
|
|
||||||
"z": 1
|
|
||||||
},
|
|
||||||
"_layer": 1073741824,
|
|
||||||
"_euler": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_name": "RootNode",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_parent": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"_children": [
|
|
||||||
{
|
|
||||||
"__id__": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 8
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 14
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_active": true,
|
|
||||||
"_components": [],
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 20
|
|
||||||
},
|
|
||||||
"_lpos": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_lrot": {
|
|
||||||
"__type__": "cc.Quat",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0,
|
|
||||||
"w": 1
|
|
||||||
},
|
|
||||||
"_lscale": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 1,
|
|
||||||
"y": 1,
|
|
||||||
"z": 1
|
|
||||||
},
|
|
||||||
"_layer": 1073741824,
|
|
||||||
"_euler": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_name": "grass",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_parent": {
|
|
||||||
"__id__": 2
|
|
||||||
},
|
|
||||||
"_children": [],
|
|
||||||
"_active": true,
|
|
||||||
"_components": [
|
|
||||||
{
|
|
||||||
"__id__": 4
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 7
|
|
||||||
},
|
|
||||||
"_lpos": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_lrot": {
|
|
||||||
"__type__": "cc.Quat",
|
|
||||||
"x": 0.37992816729770207,
|
|
||||||
"y": 0.5963678291908521,
|
|
||||||
"z": 0.5963678291908521,
|
|
||||||
"w": -0.37992816729770207
|
|
||||||
},
|
|
||||||
"_lscale": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0.614784121513367,
|
|
||||||
"y": 0.614784121513367,
|
|
||||||
"z": 0.614784121513367
|
|
||||||
},
|
|
||||||
"_layer": 1073741824,
|
|
||||||
"_euler": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": -90,
|
|
||||||
"y": -115.0000056286655,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.SkinnedMeshRenderer",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"node": {
|
|
||||||
"__id__": 3
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"_materials": [
|
|
||||||
{
|
|
||||||
"__uuid__": "b698e55a-b00b-4987-a8b4-af83cddc59f7"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_visFlags": 0,
|
|
||||||
"lightmapSettings": {
|
|
||||||
"__id__": 5
|
|
||||||
},
|
|
||||||
"_mesh": {
|
|
||||||
"__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@ef5e1"
|
|
||||||
},
|
|
||||||
"_shadowCastingMode": 0,
|
|
||||||
"_enableMorph": true,
|
|
||||||
"_skeleton": {
|
|
||||||
"__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@438fe"
|
|
||||||
},
|
|
||||||
"_skinningRoot": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 6
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.ModelLightmapSettings",
|
|
||||||
"texture": null,
|
|
||||||
"uvParam": {
|
|
||||||
"__type__": "cc.Vec4",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0,
|
|
||||||
"w": 0
|
|
||||||
},
|
|
||||||
"_bakeable": false,
|
|
||||||
"_castShadow": false,
|
|
||||||
"_receiveShadow": false,
|
|
||||||
"_recieveShadow": false,
|
|
||||||
"_lightmapSize": 64
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "cdq4wvfd1AkYLKBGkpcnul"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInfo",
|
|
||||||
"root": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"asset": {
|
|
||||||
"__id__": 0
|
|
||||||
},
|
|
||||||
"fileId": "3aIX8gjK5JFK8ATDBKdax8"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_name": "Bone001",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_parent": {
|
|
||||||
"__id__": 2
|
|
||||||
},
|
|
||||||
"_children": [
|
|
||||||
{
|
|
||||||
"__id__": 9
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_active": true,
|
|
||||||
"_components": [],
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 13
|
|
||||||
},
|
|
||||||
"_lpos": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": -0.0461842827498913,
|
|
||||||
"y": 0.0000118009265861474,
|
|
||||||
"z": -0.0284814611077309
|
|
||||||
},
|
|
||||||
"_lrot": {
|
|
||||||
"__type__": "cc.Quat",
|
|
||||||
"x": -0.0000017283479103639154,
|
|
||||||
"y": -0.000001696768662714476,
|
|
||||||
"z": 0.7049074170330618,
|
|
||||||
"w": 0.7092993256770451
|
|
||||||
},
|
|
||||||
"_lscale": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 2.53999996185303,
|
|
||||||
"y": 2.53999996185303,
|
|
||||||
"z": 2.53999996185303
|
|
||||||
},
|
|
||||||
"_layer": 1073741824,
|
|
||||||
"_euler": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": -0.0005507418826256091,
|
|
||||||
"y": 0.00027320859410338513,
|
|
||||||
"z": 89.64412979694991
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_name": "Bone002",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_parent": {
|
|
||||||
"__id__": 8
|
|
||||||
},
|
|
||||||
"_children": [
|
|
||||||
{
|
|
||||||
"__id__": 10
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_active": true,
|
|
||||||
"_components": [],
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 12
|
|
||||||
},
|
|
||||||
"_lpos": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0.0404664427042007,
|
|
||||||
"y": -3.57627860658738e-9,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_lrot": {
|
|
||||||
"__type__": "cc.Quat",
|
|
||||||
"x": 0.000002421418716486127,
|
|
||||||
"y": 1.5182564735607207e-8,
|
|
||||||
"z": 0.006269989150778519,
|
|
||||||
"w": 0.9999803434219023
|
|
||||||
},
|
|
||||||
"_lscale": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 1,
|
|
||||||
"y": 1,
|
|
||||||
"z": 1
|
|
||||||
},
|
|
||||||
"_layer": 1073741824,
|
|
||||||
"_euler": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0.000277479600078167,
|
|
||||||
"y": -3.18993241527229e-13,
|
|
||||||
"z": 0.7184925395739944
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_name": "Bone003",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_parent": {
|
|
||||||
"__id__": 9
|
|
||||||
},
|
|
||||||
"_children": [],
|
|
||||||
"_active": true,
|
|
||||||
"_components": [],
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 11
|
|
||||||
},
|
|
||||||
"_lpos": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0.0397140197455883,
|
|
||||||
"y": -1.19209286886246e-9,
|
|
||||||
"z": 7.15255721317476e-9
|
|
||||||
},
|
|
||||||
"_lrot": {
|
|
||||||
"__type__": "cc.Quat",
|
|
||||||
"x": 1.4018830392883508e-10,
|
|
||||||
"y": -1.4662893682703937e-13,
|
|
||||||
"z": -0.0010459420626472054,
|
|
||||||
"w": 0.9999994530024512
|
|
||||||
},
|
|
||||||
"_lscale": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 1,
|
|
||||||
"y": 1,
|
|
||||||
"z": 1
|
|
||||||
},
|
|
||||||
"_layer": 1073741824,
|
|
||||||
"_euler": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 1.606440509162768e-8,
|
|
||||||
"y": -1.4726229276075984e-18,
|
|
||||||
"z": -0.11985615346346049
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInfo",
|
|
||||||
"root": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"asset": {
|
|
||||||
"__id__": 0
|
|
||||||
},
|
|
||||||
"fileId": "1628kgL41EG4kfuuNtniX1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInfo",
|
|
||||||
"root": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"asset": {
|
|
||||||
"__id__": 0
|
|
||||||
},
|
|
||||||
"fileId": "d1mgL13wtIwojR/2FqCufO"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInfo",
|
|
||||||
"root": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"asset": {
|
|
||||||
"__id__": 0
|
|
||||||
},
|
|
||||||
"fileId": "f5o8/2y99IcawmyX5Tnjyv"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_name": "Bone004",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_parent": {
|
|
||||||
"__id__": 2
|
|
||||||
},
|
|
||||||
"_children": [
|
|
||||||
{
|
|
||||||
"__id__": 15
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_active": true,
|
|
||||||
"_components": [],
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 19
|
|
||||||
},
|
|
||||||
"_lpos": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0.0710692703723907,
|
|
||||||
"y": 0.0000118009265861474,
|
|
||||||
"z": 0.0136896027252078
|
|
||||||
},
|
|
||||||
"_lrot": {
|
|
||||||
"__type__": "cc.Quat",
|
|
||||||
"x": -0.0000017283479103639154,
|
|
||||||
"y": -0.000001696768662714476,
|
|
||||||
"z": 0.7049074170330618,
|
|
||||||
"w": 0.7092993256770451
|
|
||||||
},
|
|
||||||
"_lscale": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 2.53999996185303,
|
|
||||||
"y": 2.53999996185303,
|
|
||||||
"z": 2.53999996185303
|
|
||||||
},
|
|
||||||
"_layer": 1073741824,
|
|
||||||
"_euler": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": -0.0005507418826256091,
|
|
||||||
"y": 0.00027320859410338513,
|
|
||||||
"z": 89.64412979694991
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_name": "Bone005",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_parent": {
|
|
||||||
"__id__": 14
|
|
||||||
},
|
|
||||||
"_children": [
|
|
||||||
{
|
|
||||||
"__id__": 16
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_active": true,
|
|
||||||
"_components": [],
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 18
|
|
||||||
},
|
|
||||||
"_lpos": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0.0404664427042007,
|
|
||||||
"y": -4.76837147544984e-9,
|
|
||||||
"z": 5.9604643443123e-10
|
|
||||||
},
|
|
||||||
"_lrot": {
|
|
||||||
"__type__": "cc.Quat",
|
|
||||||
"x": 0.000002421418716486127,
|
|
||||||
"y": 1.5182564735607207e-8,
|
|
||||||
"z": 0.006269989150778519,
|
|
||||||
"w": 0.9999803434219023
|
|
||||||
},
|
|
||||||
"_lscale": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 1,
|
|
||||||
"y": 1,
|
|
||||||
"z": 1
|
|
||||||
},
|
|
||||||
"_layer": 1073741824,
|
|
||||||
"_euler": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0.000277479600078167,
|
|
||||||
"y": -3.18993241527229e-13,
|
|
||||||
"z": 0.7184925395739944
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_name": "Bone006",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_parent": {
|
|
||||||
"__id__": 15
|
|
||||||
},
|
|
||||||
"_children": [],
|
|
||||||
"_active": true,
|
|
||||||
"_components": [],
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 17
|
|
||||||
},
|
|
||||||
"_lpos": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0.039714016020298,
|
|
||||||
"y": 0,
|
|
||||||
"z": 7.74860353658369e-9
|
|
||||||
},
|
|
||||||
"_lrot": {
|
|
||||||
"__type__": "cc.Quat",
|
|
||||||
"x": 1.4018830392883508e-10,
|
|
||||||
"y": -1.4662893682703937e-13,
|
|
||||||
"z": -0.0010459420626472054,
|
|
||||||
"w": 0.9999994530024512
|
|
||||||
},
|
|
||||||
"_lscale": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 1,
|
|
||||||
"y": 1,
|
|
||||||
"z": 1
|
|
||||||
},
|
|
||||||
"_layer": 1073741824,
|
|
||||||
"_euler": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 1.606440509162768e-8,
|
|
||||||
"y": -1.4726229276075984e-18,
|
|
||||||
"z": -0.11985615346346049
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInfo",
|
|
||||||
"root": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"asset": {
|
|
||||||
"__id__": 0
|
|
||||||
},
|
|
||||||
"fileId": "a2tndvTm9M84i3qPpLv8DA"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInfo",
|
|
||||||
"root": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"asset": {
|
|
||||||
"__id__": 0
|
|
||||||
},
|
|
||||||
"fileId": "c5xVHa1qBClrp5YbutRSaI"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInfo",
|
|
||||||
"root": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"asset": {
|
|
||||||
"__id__": 0
|
|
||||||
},
|
|
||||||
"fileId": "3fxCLd4O9NUqkwJjBsDQgb"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInfo",
|
|
||||||
"root": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"asset": {
|
|
||||||
"__id__": 0
|
|
||||||
},
|
|
||||||
"fileId": "b7w6U8zppFX54UJURtAWiT"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.SkeletalAnimation",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"node": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"playOnLoad": false,
|
|
||||||
"_clips": [
|
|
||||||
{
|
|
||||||
"__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_defaultClip": {
|
|
||||||
"__uuid__": "aade09ee-8f9d-413c-a9e8-8c686ea5e160@73b7f"
|
|
||||||
},
|
|
||||||
"_useBakedAnimation": true,
|
|
||||||
"_sockets": [],
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 22
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "deki0q/OJHD4jsTyP928BZ"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInfo",
|
|
||||||
"root": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"asset": {
|
|
||||||
"__id__": 0
|
|
||||||
},
|
|
||||||
"fileId": "fdSk3ayLBOH7saksB95r+y"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.1.39",
|
|
||||||
"importer": "prefab",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "ebe68402-4803-40d3-b0a2-ca696e3f7c60",
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"syncNodeName": "grass"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.1.39",
|
|
||||||
"importer": "prefab",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "5e4d48c4-0e34-45af-a268-89485197e8bc",
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"syncNodeName": "grassGoup"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,113 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "2.3.0",
|
|
||||||
"importer": "fbx",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "929e58ce-66a4-4e04-9036-4244456a1220",
|
|
||||||
"files": [],
|
|
||||||
"subMetas": {
|
|
||||||
"f6832": {
|
|
||||||
"importer": "gltf-mesh",
|
|
||||||
"uuid": "929e58ce-66a4-4e04-9036-4244456a1220@f6832",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "f6832",
|
|
||||||
"name": "hdcSky.mesh",
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".bin",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"7f40d": {
|
|
||||||
"importer": "gltf-embeded-image",
|
|
||||||
"uuid": "929e58ce-66a4-4e04-9036-4244456a1220@7f40d",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "7f40d",
|
|
||||||
"name": "hdcSky.image",
|
|
||||||
"ver": "1.0.3",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json",
|
|
||||||
".png"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"d6067": {
|
|
||||||
"importer": "texture",
|
|
||||||
"uuid": "929e58ce-66a4-4e04-9036-4244456a1220@d6067",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "d6067",
|
|
||||||
"name": "hdcSky.texture",
|
|
||||||
"ver": "1.0.22",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "none",
|
|
||||||
"premultiplyAlpha": false,
|
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": true,
|
|
||||||
"imageUuidOrDatabaseUri": "929e58ce-66a4-4e04-9036-4244456a1220@7f40d"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"bfc57": {
|
|
||||||
"importer": "gltf-scene",
|
|
||||||
"uuid": "929e58ce-66a4-4e04-9036-4244456a1220@bfc57",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "bfc57",
|
|
||||||
"name": "hdcSky.prefab",
|
|
||||||
"ver": "1.0.12",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"userData": {
|
|
||||||
"imageMetas": [
|
|
||||||
{
|
|
||||||
"name": "hdcSky",
|
|
||||||
"uri": "929e58ce-66a4-4e04-9036-4244456a1220@7f40d"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"redirect": "929e58ce-66a4-4e04-9036-4244456a1220@bfc57",
|
|
||||||
"assetFinder": {
|
|
||||||
"meshes": [
|
|
||||||
"929e58ce-66a4-4e04-9036-4244456a1220@f6832"
|
|
||||||
],
|
|
||||||
"skeletons": [],
|
|
||||||
"textures": [
|
|
||||||
"929e58ce-66a4-4e04-9036-4244456a1220@d6067"
|
|
||||||
],
|
|
||||||
"materials": [
|
|
||||||
"482a5162-dad9-446c-b548-8486c7598ee1"
|
|
||||||
],
|
|
||||||
"scenes": [
|
|
||||||
"929e58ce-66a4-4e04-9036-4244456a1220@bfc57"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"dumpMaterials": true,
|
|
||||||
"materialDumpDir": "db://assets/material",
|
|
||||||
"legacyFbxImporter": true,
|
|
||||||
"fbx": {
|
|
||||||
"smartMaterialEnabled": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,224 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"__type__": "cc.Prefab",
|
|
||||||
"_name": "hdcSky",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_native": "",
|
|
||||||
"data": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"optimizationPolicy": 0,
|
|
||||||
"asyncLoadAssets": false,
|
|
||||||
"persistent": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_name": "hdcSky",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_parent": null,
|
|
||||||
"_children": [
|
|
||||||
{
|
|
||||||
"__id__": 2
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_active": true,
|
|
||||||
"_components": [],
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 9
|
|
||||||
},
|
|
||||||
"_lpos": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_lrot": {
|
|
||||||
"__type__": "cc.Quat",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0,
|
|
||||||
"w": 1
|
|
||||||
},
|
|
||||||
"_lscale": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 1,
|
|
||||||
"y": 1,
|
|
||||||
"z": 1
|
|
||||||
},
|
|
||||||
"_layer": 1073741824,
|
|
||||||
"_euler": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_name": "RootNode",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_parent": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"_children": [
|
|
||||||
{
|
|
||||||
"__id__": 3
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_active": true,
|
|
||||||
"_components": [],
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 8
|
|
||||||
},
|
|
||||||
"_lpos": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_lrot": {
|
|
||||||
"__type__": "cc.Quat",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0,
|
|
||||||
"w": 1
|
|
||||||
},
|
|
||||||
"_lscale": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 1,
|
|
||||||
"y": 1,
|
|
||||||
"z": 1
|
|
||||||
},
|
|
||||||
"_layer": 1073741824,
|
|
||||||
"_euler": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_name": "hdcSky",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_parent": {
|
|
||||||
"__id__": 2
|
|
||||||
},
|
|
||||||
"_children": [],
|
|
||||||
"_active": true,
|
|
||||||
"_components": [
|
|
||||||
{
|
|
||||||
"__id__": 4
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 7
|
|
||||||
},
|
|
||||||
"_lpos": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0.00000556361783310422
|
|
||||||
},
|
|
||||||
"_lrot": {
|
|
||||||
"__type__": "cc.Quat",
|
|
||||||
"x": -0.7071067811865476,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0,
|
|
||||||
"w": 0.7071067811865476
|
|
||||||
},
|
|
||||||
"_lscale": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 2.57702493667603,
|
|
||||||
"y": 2.57702493667603,
|
|
||||||
"z": 2.57702493667603
|
|
||||||
},
|
|
||||||
"_layer": 1073741824,
|
|
||||||
"_euler": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": -90.00000000000003,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.MeshRenderer",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"node": {
|
|
||||||
"__id__": 3
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"_materials": [
|
|
||||||
{
|
|
||||||
"__uuid__": "482a5162-dad9-446c-b548-8486c7598ee1"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_visFlags": 0,
|
|
||||||
"lightmapSettings": {
|
|
||||||
"__id__": 5
|
|
||||||
},
|
|
||||||
"_mesh": {
|
|
||||||
"__uuid__": "929e58ce-66a4-4e04-9036-4244456a1220@f6832"
|
|
||||||
},
|
|
||||||
"_shadowCastingMode": 0,
|
|
||||||
"_enableMorph": true,
|
|
||||||
"_id": "",
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 6
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.ModelLightmapSettings",
|
|
||||||
"texture": null,
|
|
||||||
"uvParam": {
|
|
||||||
"__type__": "cc.Vec4",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0,
|
|
||||||
"w": 0
|
|
||||||
},
|
|
||||||
"_bakeable": false,
|
|
||||||
"_castShadow": false,
|
|
||||||
"_receiveShadow": false,
|
|
||||||
"_recieveShadow": false,
|
|
||||||
"_lightmapSize": 64
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "faUTUMvuxGGLzyygmsEygr"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInfo",
|
|
||||||
"root": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"asset": {
|
|
||||||
"__id__": 0
|
|
||||||
},
|
|
||||||
"fileId": "537wfATPdERIxNoHyImaal"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInfo",
|
|
||||||
"root": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"asset": {
|
|
||||||
"__id__": 0
|
|
||||||
},
|
|
||||||
"fileId": "68pBvn4L5LzqzYlxlqIh1Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInfo",
|
|
||||||
"root": {
|
|
||||||
"__id__": 1
|
|
||||||
},
|
|
||||||
"asset": {
|
|
||||||
"__id__": 0
|
|
||||||
},
|
|
||||||
"fileId": "a0C8RfybZDJbzD2rhAA/j8"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.1.39",
|
|
||||||
"importer": "prefab",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "f0512d7a-e4f6-4209-8dc0-ed1de7149c85",
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"syncNodeName": "hdcSky"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,352 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "2.3.0",
|
|
||||||
"importer": "fbx",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "0ab3142a-6968-4073-95af-026bc3b23623",
|
|
||||||
"files": [],
|
|
||||||
"subMetas": {
|
|
||||||
"71919": {
|
|
||||||
"importer": "gltf-mesh",
|
|
||||||
"uuid": "0ab3142a-6968-4073-95af-026bc3b23623@71919",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "71919",
|
|
||||||
"name": "tree1-6.mesh",
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".bin",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 6
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"2b0a8": {
|
|
||||||
"importer": "gltf-mesh",
|
|
||||||
"uuid": "0ab3142a-6968-4073-95af-026bc3b23623@2b0a8",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "2b0a8",
|
|
||||||
"name": "plane01-0.mesh",
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".bin",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"4a7d8": {
|
|
||||||
"importer": "gltf-mesh",
|
|
||||||
"uuid": "0ab3142a-6968-4073-95af-026bc3b23623@4a7d8",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "4a7d8",
|
|
||||||
"name": "stone1-1.mesh",
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".bin",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"0e750": {
|
|
||||||
"importer": "gltf-mesh",
|
|
||||||
"uuid": "0ab3142a-6968-4073-95af-026bc3b23623@0e750",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "0e750",
|
|
||||||
"name": "tree1-2.mesh",
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".bin",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ef86b": {
|
|
||||||
"importer": "gltf-mesh",
|
|
||||||
"uuid": "0ab3142a-6968-4073-95af-026bc3b23623@ef86b",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "ef86b",
|
|
||||||
"name": "tree1-3.mesh",
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".bin",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 3
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"426f2": {
|
|
||||||
"importer": "gltf-mesh",
|
|
||||||
"uuid": "0ab3142a-6968-4073-95af-026bc3b23623@426f2",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "426f2",
|
|
||||||
"name": "tree1-4.mesh",
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".bin",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 4
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"754a2": {
|
|
||||||
"importer": "gltf-mesh",
|
|
||||||
"uuid": "0ab3142a-6968-4073-95af-026bc3b23623@754a2",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "754a2",
|
|
||||||
"name": "tree1-5.mesh",
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".bin",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 5
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"1332c": {
|
|
||||||
"importer": "gltf-mesh",
|
|
||||||
"uuid": "0ab3142a-6968-4073-95af-026bc3b23623@1332c",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "1332c",
|
|
||||||
"name": "tree1-7.mesh",
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".bin",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 7
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"4d16f": {
|
|
||||||
"importer": "gltf-mesh",
|
|
||||||
"uuid": "0ab3142a-6968-4073-95af-026bc3b23623@4d16f",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "4d16f",
|
|
||||||
"name": "tree1-8.mesh",
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".bin",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 8
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"efe84": {
|
|
||||||
"importer": "gltf-mesh",
|
|
||||||
"uuid": "0ab3142a-6968-4073-95af-026bc3b23623@efe84",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "efe84",
|
|
||||||
"name": "tree1-9.mesh",
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".bin",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 9
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"eeccb": {
|
|
||||||
"importer": "gltf-embeded-image",
|
|
||||||
"uuid": "0ab3142a-6968-4073-95af-026bc3b23623@eeccb",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "eeccb",
|
|
||||||
"name": "stone.jpg.image",
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 1
|
|
||||||
},
|
|
||||||
"ver": "1.0.3",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".jpg",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
},
|
|
||||||
"3b6f8": {
|
|
||||||
"importer": "gltf-embeded-image",
|
|
||||||
"uuid": "0ab3142a-6968-4073-95af-026bc3b23623@3b6f8",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "3b6f8",
|
|
||||||
"name": "tree.png.image",
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 2
|
|
||||||
},
|
|
||||||
"ver": "1.0.3",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json",
|
|
||||||
".png"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
},
|
|
||||||
"2df3a": {
|
|
||||||
"importer": "texture",
|
|
||||||
"uuid": "0ab3142a-6968-4073-95af-026bc3b23623@2df3a",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "2df3a",
|
|
||||||
"name": "seafloor.texture",
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "none",
|
|
||||||
"premultiplyAlpha": false,
|
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": false,
|
|
||||||
"imageUuidOrDatabaseUri": "db://assets/model/helloWorld/seafloor.jpg"
|
|
||||||
},
|
|
||||||
"ver": "1.0.22",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
},
|
|
||||||
"91a84": {
|
|
||||||
"importer": "texture",
|
|
||||||
"uuid": "0ab3142a-6968-4073-95af-026bc3b23623@91a84",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "91a84",
|
|
||||||
"name": "stone.texture",
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "none",
|
|
||||||
"premultiplyAlpha": false,
|
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": true,
|
|
||||||
"imageUuidOrDatabaseUri": "0ab3142a-6968-4073-95af-026bc3b23623@eeccb"
|
|
||||||
},
|
|
||||||
"ver": "1.0.22",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
},
|
|
||||||
"0595c": {
|
|
||||||
"importer": "texture",
|
|
||||||
"uuid": "0ab3142a-6968-4073-95af-026bc3b23623@0595c",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "0595c",
|
|
||||||
"name": "tree.texture",
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "none",
|
|
||||||
"premultiplyAlpha": false,
|
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": true,
|
|
||||||
"imageUuidOrDatabaseUri": "0ab3142a-6968-4073-95af-026bc3b23623@3b6f8"
|
|
||||||
},
|
|
||||||
"ver": "1.0.22",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
},
|
|
||||||
"cc8e5": {
|
|
||||||
"importer": "gltf-scene",
|
|
||||||
"uuid": "0ab3142a-6968-4073-95af-026bc3b23623@cc8e5",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "cc8e5",
|
|
||||||
"name": "islands.prefab",
|
|
||||||
"ver": "1.0.12",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"userData": {
|
|
||||||
"imageMetas": [
|
|
||||||
{
|
|
||||||
"name": "seafloor",
|
|
||||||
"uri": "db://assets/model/helloWorld/seafloor.jpg"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "stone.jpg",
|
|
||||||
"uri": "0ab3142a-6968-4073-95af-026bc3b23623@eeccb"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "tree.png",
|
|
||||||
"uri": "0ab3142a-6968-4073-95af-026bc3b23623@3b6f8"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"redirect": "0ab3142a-6968-4073-95af-026bc3b23623@cc8e5",
|
|
||||||
"assetFinder": {
|
|
||||||
"meshes": [
|
|
||||||
"0ab3142a-6968-4073-95af-026bc3b23623@2b0a8",
|
|
||||||
"0ab3142a-6968-4073-95af-026bc3b23623@4a7d8",
|
|
||||||
"0ab3142a-6968-4073-95af-026bc3b23623@0e750",
|
|
||||||
"0ab3142a-6968-4073-95af-026bc3b23623@ef86b",
|
|
||||||
"0ab3142a-6968-4073-95af-026bc3b23623@426f2",
|
|
||||||
"0ab3142a-6968-4073-95af-026bc3b23623@754a2",
|
|
||||||
"0ab3142a-6968-4073-95af-026bc3b23623@71919",
|
|
||||||
"0ab3142a-6968-4073-95af-026bc3b23623@1332c",
|
|
||||||
"0ab3142a-6968-4073-95af-026bc3b23623@4d16f",
|
|
||||||
"0ab3142a-6968-4073-95af-026bc3b23623@efe84"
|
|
||||||
],
|
|
||||||
"skeletons": [],
|
|
||||||
"textures": [
|
|
||||||
"0ab3142a-6968-4073-95af-026bc3b23623@2df3a",
|
|
||||||
"0ab3142a-6968-4073-95af-026bc3b23623@91a84",
|
|
||||||
"0ab3142a-6968-4073-95af-026bc3b23623@0595c"
|
|
||||||
],
|
|
||||||
"materials": [
|
|
||||||
"70d33758-1c1e-424d-b0ab-eac7410559bf",
|
|
||||||
"a155f93b-7769-4ca4-b75f-b13e52193859",
|
|
||||||
"7bf9df40-4bc9-4e25-8cb0-9a500f949102"
|
|
||||||
],
|
|
||||||
"scenes": [
|
|
||||||
"0ab3142a-6968-4073-95af-026bc3b23623@cc8e5"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"dumpMaterials": true,
|
|
||||||
"materialDumpDir": "db://assets/material",
|
|
||||||
"legacyFbxImporter": true,
|
|
||||||
"fbx": {
|
|
||||||
"smartMaterialEnabled": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.1.39",
|
|
||||||
"importer": "prefab",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "ccc3a755-7d3d-4304-aa3b-ca4792d79d9f",
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"syncNodeName": "islands"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 476 KiB |
|
|
@ -1,43 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.0.24",
|
|
||||||
"importer": "image",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "4f4c4a34-2d08-4a4d-9169-834d7ce82cee",
|
|
||||||
"files": [
|
|
||||||
".jpg",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {
|
|
||||||
"6c48a": {
|
|
||||||
"importer": "texture",
|
|
||||||
"uuid": "4f4c4a34-2d08-4a4d-9169-834d7ce82cee@6c48a",
|
|
||||||
"displayName": "seafloor",
|
|
||||||
"id": "6c48a",
|
|
||||||
"name": "texture",
|
|
||||||
"ver": "1.0.22",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "none",
|
|
||||||
"premultiplyAlpha": false,
|
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": true,
|
|
||||||
"imageUuidOrDatabaseUri": "4f4c4a34-2d08-4a4d-9169-834d7ce82cee",
|
|
||||||
"visible": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"userData": {
|
|
||||||
"type": "texture",
|
|
||||||
"redirect": "4f4c4a34-2d08-4a4d-9169-834d7ce82cee@6c48a",
|
|
||||||
"hasAlpha": false,
|
|
||||||
"fixAlphaTransparencyArtifacts": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 13 KiB |
|
|
@ -1,43 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.0.24",
|
|
||||||
"importer": "image",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "95e5b02a-e338-423c-bdbb-17486db1d9eb",
|
|
||||||
"files": [
|
|
||||||
".jpg",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {
|
|
||||||
"6c48a": {
|
|
||||||
"importer": "texture",
|
|
||||||
"uuid": "95e5b02a-e338-423c-bdbb-17486db1d9eb@6c48a",
|
|
||||||
"displayName": "shield",
|
|
||||||
"id": "6c48a",
|
|
||||||
"name": "texture",
|
|
||||||
"ver": "1.0.22",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "none",
|
|
||||||
"premultiplyAlpha": false,
|
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": true,
|
|
||||||
"imageUuidOrDatabaseUri": "95e5b02a-e338-423c-bdbb-17486db1d9eb",
|
|
||||||
"visible": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"userData": {
|
|
||||||
"type": "texture",
|
|
||||||
"redirect": "95e5b02a-e338-423c-bdbb-17486db1d9eb@6c48a",
|
|
||||||
"hasAlpha": false,
|
|
||||||
"fixAlphaTransparencyArtifacts": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 691 KiB |
|
|
@ -1,43 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.0.24",
|
|
||||||
"importer": "image",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "dc4a96c7-321a-48af-81e5-1127ad3ae432",
|
|
||||||
"files": [
|
|
||||||
".json",
|
|
||||||
".png"
|
|
||||||
],
|
|
||||||
"subMetas": {
|
|
||||||
"6c48a": {
|
|
||||||
"importer": "texture",
|
|
||||||
"uuid": "dc4a96c7-321a-48af-81e5-1127ad3ae432@6c48a",
|
|
||||||
"displayName": "sky",
|
|
||||||
"id": "6c48a",
|
|
||||||
"name": "texture",
|
|
||||||
"ver": "1.0.22",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "none",
|
|
||||||
"premultiplyAlpha": false,
|
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": true,
|
|
||||||
"imageUuidOrDatabaseUri": "dc4a96c7-321a-48af-81e5-1127ad3ae432",
|
|
||||||
"visible": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"userData": {
|
|
||||||
"type": "texture",
|
|
||||||
"redirect": "dc4a96c7-321a-48af-81e5-1127ad3ae432@6c48a",
|
|
||||||
"hasAlpha": false,
|
|
||||||
"fixAlphaTransparencyArtifacts": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,311 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "2.3.0",
|
|
||||||
"importer": "fbx",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "e3553cad-2f15-4293-859a-8f43c780f289",
|
|
||||||
"files": [
|
|
||||||
"__original-animation-0.cconb"
|
|
||||||
],
|
|
||||||
"subMetas": {
|
|
||||||
"18751": {
|
|
||||||
"importer": "gltf-mesh",
|
|
||||||
"uuid": "e3553cad-2f15-4293-859a-8f43c780f289@18751",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "18751",
|
|
||||||
"name": "soldier.mesh",
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".bin",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"30732": {
|
|
||||||
"importer": "gltf-skeleton",
|
|
||||||
"uuid": "e3553cad-2f15-4293-859a-8f43c780f289@30732",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "30732",
|
|
||||||
"name": "UnnamedSkeleton-0.skeleton",
|
|
||||||
"ver": "1.0.1",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 0,
|
|
||||||
"jointsLength": 22
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"da6f3": {
|
|
||||||
"importer": "gltf-mesh",
|
|
||||||
"uuid": "e3553cad-2f15-4293-859a-8f43c780f289@da6f3",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "da6f3",
|
|
||||||
"name": "shield.mesh",
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".bin",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"4b929": {
|
|
||||||
"importer": "gltf-mesh",
|
|
||||||
"uuid": "e3553cad-2f15-4293-859a-8f43c780f289@4b929",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "4b929",
|
|
||||||
"name": "sword.mesh",
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".bin",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"39f7b": {
|
|
||||||
"importer": "gltf-mesh",
|
|
||||||
"uuid": "e3553cad-2f15-4293-859a-8f43c780f289@39f7b",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "39f7b",
|
|
||||||
"name": "shield01.mesh",
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 3
|
|
||||||
},
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".bin",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
},
|
|
||||||
"73b7f": {
|
|
||||||
"importer": "gltf-animation",
|
|
||||||
"uuid": "e3553cad-2f15-4293-859a-8f43c780f289@73b7f",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "73b7f",
|
|
||||||
"name": "Take 001.animation",
|
|
||||||
"ver": "1.0.16",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".cconb"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"events": [],
|
|
||||||
"gltfIndex": 0,
|
|
||||||
"sample": 30,
|
|
||||||
"span": {
|
|
||||||
"from": 0.03333333333333333,
|
|
||||||
"to": 1.3333333730697632
|
|
||||||
},
|
|
||||||
"wrapMode": 2,
|
|
||||||
"speed": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"f1394": {
|
|
||||||
"importer": "gltf-skeleton",
|
|
||||||
"uuid": "e3553cad-2f15-4293-859a-8f43c780f289@f1394",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "f1394",
|
|
||||||
"name": "UnnamedSkeleton-1.skeleton",
|
|
||||||
"ver": "1.0.1",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 1,
|
|
||||||
"jointsLength": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"75ee4": {
|
|
||||||
"importer": "gltf-skeleton",
|
|
||||||
"uuid": "e3553cad-2f15-4293-859a-8f43c780f289@75ee4",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "75ee4",
|
|
||||||
"name": "UnnamedSkeleton-2.skeleton",
|
|
||||||
"ver": "1.0.1",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 2,
|
|
||||||
"jointsLength": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"a72ab": {
|
|
||||||
"importer": "gltf-skeleton",
|
|
||||||
"uuid": "e3553cad-2f15-4293-859a-8f43c780f289@a72ab",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "a72ab",
|
|
||||||
"name": "UnnamedSkeleton-3.skeleton",
|
|
||||||
"ver": "1.0.1",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 3,
|
|
||||||
"jointsLength": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"e94f1": {
|
|
||||||
"importer": "gltf-embeded-image",
|
|
||||||
"uuid": "e3553cad-2f15-4293-859a-8f43c780f289@e94f1",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "e94f1",
|
|
||||||
"name": "shield.jpg.image",
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 1
|
|
||||||
},
|
|
||||||
"ver": "1.0.3",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".jpg",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
},
|
|
||||||
"f3caa": {
|
|
||||||
"importer": "texture",
|
|
||||||
"uuid": "e3553cad-2f15-4293-859a-8f43c780f289@f3caa",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "f3caa",
|
|
||||||
"name": "soldier.texture",
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "none",
|
|
||||||
"premultiplyAlpha": false,
|
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": false,
|
|
||||||
"imageUuidOrDatabaseUri": "db://assets/model/helloWorld/soldier.png"
|
|
||||||
},
|
|
||||||
"ver": "1.0.22",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
},
|
|
||||||
"a2be1": {
|
|
||||||
"importer": "texture",
|
|
||||||
"uuid": "e3553cad-2f15-4293-859a-8f43c780f289@a2be1",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "a2be1",
|
|
||||||
"name": "shield.texture",
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "none",
|
|
||||||
"premultiplyAlpha": false,
|
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": true,
|
|
||||||
"imageUuidOrDatabaseUri": "e3553cad-2f15-4293-859a-8f43c780f289@e94f1"
|
|
||||||
},
|
|
||||||
"ver": "1.0.22",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
},
|
|
||||||
"d252c": {
|
|
||||||
"importer": "gltf-scene",
|
|
||||||
"uuid": "e3553cad-2f15-4293-859a-8f43c780f289@d252c",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "d252c",
|
|
||||||
"name": "soldier.prefab",
|
|
||||||
"ver": "1.0.12",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"gltfIndex": 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"userData": {
|
|
||||||
"imageMetas": [
|
|
||||||
{
|
|
||||||
"name": "soldier",
|
|
||||||
"uri": "db://assets/model/helloWorld/soldier.png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "shield.jpg",
|
|
||||||
"uri": "e3553cad-2f15-4293-859a-8f43c780f289@e94f1"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"redirect": "e3553cad-2f15-4293-859a-8f43c780f289@d252c",
|
|
||||||
"assetFinder": {
|
|
||||||
"meshes": [
|
|
||||||
"e3553cad-2f15-4293-859a-8f43c780f289@18751",
|
|
||||||
"e3553cad-2f15-4293-859a-8f43c780f289@da6f3",
|
|
||||||
"e3553cad-2f15-4293-859a-8f43c780f289@4b929",
|
|
||||||
"e3553cad-2f15-4293-859a-8f43c780f289@39f7b"
|
|
||||||
],
|
|
||||||
"skeletons": [
|
|
||||||
"e3553cad-2f15-4293-859a-8f43c780f289@30732",
|
|
||||||
"e3553cad-2f15-4293-859a-8f43c780f289@f1394",
|
|
||||||
"e3553cad-2f15-4293-859a-8f43c780f289@75ee4",
|
|
||||||
"e3553cad-2f15-4293-859a-8f43c780f289@a72ab"
|
|
||||||
],
|
|
||||||
"textures": [
|
|
||||||
"e3553cad-2f15-4293-859a-8f43c780f289@f3caa",
|
|
||||||
"e3553cad-2f15-4293-859a-8f43c780f289@a2be1"
|
|
||||||
],
|
|
||||||
"materials": [
|
|
||||||
"8a58ddec-f437-40b9-8ec0-1fc87de97fb5",
|
|
||||||
"8e047178-f61c-4322-a2f6-d1adb28b6ae2"
|
|
||||||
],
|
|
||||||
"scenes": [
|
|
||||||
"e3553cad-2f15-4293-859a-8f43c780f289@d252c"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"dumpMaterials": true,
|
|
||||||
"materialDumpDir": "db://assets/material",
|
|
||||||
"animationImportSettings": [
|
|
||||||
{
|
|
||||||
"name": "Take 001",
|
|
||||||
"duration": 1.3333333730697632,
|
|
||||||
"fps": 30,
|
|
||||||
"splits": [
|
|
||||||
{
|
|
||||||
"name": "Take 001",
|
|
||||||
"from": 0.03333333333333333,
|
|
||||||
"to": 1.3333333730697632,
|
|
||||||
"wrapMode": 2
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"legacyFbxImporter": true,
|
|
||||||
"fbx": {
|
|
||||||
"smartMaterialEnabled": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 329 KiB |
|
|
@ -1,43 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.0.24",
|
|
||||||
"importer": "image",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "6f891a7b-5a08-48e6-9841-ddb364ac86b1",
|
|
||||||
"files": [
|
|
||||||
".json",
|
|
||||||
".png"
|
|
||||||
],
|
|
||||||
"subMetas": {
|
|
||||||
"6c48a": {
|
|
||||||
"importer": "texture",
|
|
||||||
"uuid": "6f891a7b-5a08-48e6-9841-ddb364ac86b1@6c48a",
|
|
||||||
"displayName": "soldier",
|
|
||||||
"id": "6c48a",
|
|
||||||
"name": "texture",
|
|
||||||
"ver": "1.0.22",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "none",
|
|
||||||
"premultiplyAlpha": false,
|
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": true,
|
|
||||||
"imageUuidOrDatabaseUri": "6f891a7b-5a08-48e6-9841-ddb364ac86b1",
|
|
||||||
"visible": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"userData": {
|
|
||||||
"type": "texture",
|
|
||||||
"redirect": "6f891a7b-5a08-48e6-9841-ddb364ac86b1@6c48a",
|
|
||||||
"hasAlpha": true,
|
|
||||||
"fixAlphaTransparencyArtifacts": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.1.39",
|
|
||||||
"importer": "prefab",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "cfc53c4e-7956-482b-aebc-3fb1dcd36eef",
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"syncNodeName": "soldier"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 84 KiB |
|
|
@ -1,43 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.0.24",
|
|
||||||
"importer": "image",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "0718d996-39bf-4ab4-bb63-496666fef467",
|
|
||||||
"files": [
|
|
||||||
".jpg",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {
|
|
||||||
"6c48a": {
|
|
||||||
"importer": "texture",
|
|
||||||
"uuid": "0718d996-39bf-4ab4-bb63-496666fef467@6c48a",
|
|
||||||
"displayName": "stone",
|
|
||||||
"id": "6c48a",
|
|
||||||
"name": "texture",
|
|
||||||
"ver": "1.0.22",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "none",
|
|
||||||
"premultiplyAlpha": false,
|
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": true,
|
|
||||||
"imageUuidOrDatabaseUri": "0718d996-39bf-4ab4-bb63-496666fef467",
|
|
||||||
"visible": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"userData": {
|
|
||||||
"type": "texture",
|
|
||||||
"redirect": "0718d996-39bf-4ab4-bb63-496666fef467@6c48a",
|
|
||||||
"hasAlpha": false,
|
|
||||||
"fixAlphaTransparencyArtifacts": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 131 KiB |
|
|
@ -1,43 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.0.24",
|
|
||||||
"importer": "image",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "c5083e75-ad2e-4ea9-8b33-dee748995b00",
|
|
||||||
"files": [
|
|
||||||
".json",
|
|
||||||
".png"
|
|
||||||
],
|
|
||||||
"subMetas": {
|
|
||||||
"6c48a": {
|
|
||||||
"importer": "texture",
|
|
||||||
"uuid": "c5083e75-ad2e-4ea9-8b33-dee748995b00@6c48a",
|
|
||||||
"displayName": "tree",
|
|
||||||
"id": "6c48a",
|
|
||||||
"name": "texture",
|
|
||||||
"ver": "1.0.22",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "none",
|
|
||||||
"premultiplyAlpha": false,
|
|
||||||
"anisotropy": 0,
|
|
||||||
"isUuid": true,
|
|
||||||
"imageUuidOrDatabaseUri": "c5083e75-ad2e-4ea9-8b33-dee748995b00",
|
|
||||||
"visible": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"userData": {
|
|
||||||
"type": "texture",
|
|
||||||
"redirect": "c5083e75-ad2e-4ea9-8b33-dee748995b00@6c48a",
|
|
||||||
"hasAlpha": false,
|
|
||||||
"fixAlphaTransparencyArtifacts": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"importer": "directory",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "b0a4abb1-db32-49c3-9e09-a45b922a2094",
|
|
||||||
"files": [],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"compressionType": {},
|
|
||||||
"isRemoteBundle": {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.1.39",
|
|
||||||
"importer": "scene",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "7c3e7fab-7b1e-4865-ba84-3cf81b48b9fb",
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {}
|
|
||||||
}
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"importer": "directory",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "0ffa4df5-6d43-4a4e-8f06-bad2c2f4ccd4",
|
|
||||||
"files": [],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"compressionType": {},
|
|
||||||
"isRemoteBundle": {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"importer": "directory",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "db51e406-b014-4fc7-b313-bd0cea79833b",
|
|
||||||
"files": [],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"compressionType": {},
|
|
||||||
"isRemoteBundle": {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,444 +0,0 @@
|
||||||
export const ContractABI = [
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"internalType": "string",
|
|
||||||
"name": "tokenName",
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"internalType": "string",
|
|
||||||
"name": "tokenSymbol",
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "constructor"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"anonymous": false,
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"indexed": true,
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "owner",
|
|
||||||
"type": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"indexed": true,
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "approved",
|
|
||||||
"type": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"indexed": true,
|
|
||||||
"internalType": "uint256",
|
|
||||||
"name": "tokenId",
|
|
||||||
"type": "uint256"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "Approval",
|
|
||||||
"type": "event"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"anonymous": false,
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"indexed": true,
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "owner",
|
|
||||||
"type": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"indexed": true,
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "operator",
|
|
||||||
"type": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"indexed": false,
|
|
||||||
"internalType": "bool",
|
|
||||||
"name": "approved",
|
|
||||||
"type": "bool"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "ApprovalForAll",
|
|
||||||
"type": "event"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "to",
|
|
||||||
"type": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"internalType": "uint256",
|
|
||||||
"name": "tokenId",
|
|
||||||
"type": "uint256"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "approve",
|
|
||||||
"outputs": [],
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"internalType": "uint256",
|
|
||||||
"name": "tokenId",
|
|
||||||
"type": "uint256"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "Burn",
|
|
||||||
"outputs": [],
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "to",
|
|
||||||
"type": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"internalType": "uint256",
|
|
||||||
"name": "tokenId",
|
|
||||||
"type": "uint256"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "GTransfer",
|
|
||||||
"outputs": [],
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "to",
|
|
||||||
"type": "address"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "Mint",
|
|
||||||
"outputs": [],
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"anonymous": false,
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"indexed": true,
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "previousOwner",
|
|
||||||
"type": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"indexed": true,
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "newOwner",
|
|
||||||
"type": "address"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "OwnershipTransferred",
|
|
||||||
"type": "event"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [],
|
|
||||||
"name": "renounceOwnership",
|
|
||||||
"outputs": [],
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "from",
|
|
||||||
"type": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "to",
|
|
||||||
"type": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"internalType": "uint256",
|
|
||||||
"name": "tokenId",
|
|
||||||
"type": "uint256"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "safeTransferFrom",
|
|
||||||
"outputs": [],
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "from",
|
|
||||||
"type": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "to",
|
|
||||||
"type": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"internalType": "uint256",
|
|
||||||
"name": "tokenId",
|
|
||||||
"type": "uint256"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"internalType": "bytes",
|
|
||||||
"name": "data",
|
|
||||||
"type": "bytes"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "safeTransferFrom",
|
|
||||||
"outputs": [],
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "operator",
|
|
||||||
"type": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"internalType": "bool",
|
|
||||||
"name": "approved",
|
|
||||||
"type": "bool"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "setApprovalForAll",
|
|
||||||
"outputs": [],
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"anonymous": false,
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"indexed": true,
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "from",
|
|
||||||
"type": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"indexed": true,
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "to",
|
|
||||||
"type": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"indexed": true,
|
|
||||||
"internalType": "uint256",
|
|
||||||
"name": "tokenId",
|
|
||||||
"type": "uint256"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "Transfer",
|
|
||||||
"type": "event"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "from",
|
|
||||||
"type": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "to",
|
|
||||||
"type": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"internalType": "uint256",
|
|
||||||
"name": "tokenId",
|
|
||||||
"type": "uint256"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "transferFrom",
|
|
||||||
"outputs": [],
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "newOwner",
|
|
||||||
"type": "address"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "transferOwnership",
|
|
||||||
"outputs": [],
|
|
||||||
"stateMutability": "nonpayable",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "owner",
|
|
||||||
"type": "address"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "balanceOf",
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"internalType": "uint256",
|
|
||||||
"name": "",
|
|
||||||
"type": "uint256"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"stateMutability": "view",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"internalType": "uint256",
|
|
||||||
"name": "tokenId",
|
|
||||||
"type": "uint256"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "getApproved",
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "",
|
|
||||||
"type": "address"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"stateMutability": "view",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "owner",
|
|
||||||
"type": "address"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "operator",
|
|
||||||
"type": "address"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "isApprovedForAll",
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"internalType": "bool",
|
|
||||||
"name": "",
|
|
||||||
"type": "bool"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"stateMutability": "view",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [],
|
|
||||||
"name": "name",
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"internalType": "string",
|
|
||||||
"name": "",
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"stateMutability": "view",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [],
|
|
||||||
"name": "owner",
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "",
|
|
||||||
"type": "address"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"stateMutability": "view",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"internalType": "uint256",
|
|
||||||
"name": "tokenId",
|
|
||||||
"type": "uint256"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "ownerOf",
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"internalType": "address",
|
|
||||||
"name": "",
|
|
||||||
"type": "address"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"stateMutability": "view",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"internalType": "bytes4",
|
|
||||||
"name": "interfaceId",
|
|
||||||
"type": "bytes4"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "supportsInterface",
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"internalType": "bool",
|
|
||||||
"name": "",
|
|
||||||
"type": "bool"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"stateMutability": "view",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [],
|
|
||||||
"name": "symbol",
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"internalType": "string",
|
|
||||||
"name": "",
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"stateMutability": "view",
|
|
||||||
"type": "function"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"internalType": "uint256",
|
|
||||||
"name": "tokenId",
|
|
||||||
"type": "uint256"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"name": "tokenURI",
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"internalType": "string",
|
|
||||||
"name": "",
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"stateMutability": "view",
|
|
||||||
"type": "function"
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.1.0",
|
|
||||||
"importer": "directory",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "9e344b1f-8681-4ddf-bcc6-bb014c332bb8",
|
|
||||||
"files": [],
|
|
||||||
"subMetas": {},
|
|
||||||
"userData": {
|
|
||||||
"compressionType": {},
|
|
||||||
"isRemoteBundle": {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 494 KiB |
|
|
@ -1,132 +0,0 @@
|
||||||
{
|
|
||||||
"ver": "1.0.24",
|
|
||||||
"importer": "image",
|
|
||||||
"imported": true,
|
|
||||||
"uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb",
|
|
||||||
"files": [
|
|
||||||
".jpg",
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {
|
|
||||||
"b47c0": {
|
|
||||||
"importer": "erp-texture-cube",
|
|
||||||
"uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0",
|
|
||||||
"displayName": "sunnySkyBox",
|
|
||||||
"id": "b47c0",
|
|
||||||
"name": "textureCube",
|
|
||||||
"userData": {
|
|
||||||
"wrapModeS": "repeat",
|
|
||||||
"wrapModeT": "repeat",
|
|
||||||
"minfilter": "linear",
|
|
||||||
"magfilter": "linear",
|
|
||||||
"mipfilter": "linear",
|
|
||||||
"anisotropy": 1,
|
|
||||||
"isRGBE": false,
|
|
||||||
"imageDatabaseUri": "db://assets/skybox/sunnySkyBox.jpg"
|
|
||||||
},
|
|
||||||
"ver": "1.0.10",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {
|
|
||||||
"e9a6d": {
|
|
||||||
"importer": "texture-cube-face",
|
|
||||||
"uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0@e9a6d",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "e9a6d",
|
|
||||||
"name": "front",
|
|
||||||
"userData": {},
|
|
||||||
"ver": "1.0.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json",
|
|
||||||
".png"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
},
|
|
||||||
"40c10": {
|
|
||||||
"importer": "texture-cube-face",
|
|
||||||
"uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0@40c10",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "40c10",
|
|
||||||
"name": "back",
|
|
||||||
"userData": {},
|
|
||||||
"ver": "1.0.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json",
|
|
||||||
".png"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
},
|
|
||||||
"bb97f": {
|
|
||||||
"importer": "texture-cube-face",
|
|
||||||
"uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0@bb97f",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "bb97f",
|
|
||||||
"name": "top",
|
|
||||||
"userData": {},
|
|
||||||
"ver": "1.0.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json",
|
|
||||||
".png"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
},
|
|
||||||
"7d38f": {
|
|
||||||
"importer": "texture-cube-face",
|
|
||||||
"uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0@7d38f",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "7d38f",
|
|
||||||
"name": "bottom",
|
|
||||||
"userData": {},
|
|
||||||
"ver": "1.0.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json",
|
|
||||||
".png"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
},
|
|
||||||
"74afd": {
|
|
||||||
"importer": "texture-cube-face",
|
|
||||||
"uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0@74afd",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "74afd",
|
|
||||||
"name": "right",
|
|
||||||
"userData": {},
|
|
||||||
"ver": "1.0.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json",
|
|
||||||
".png"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
},
|
|
||||||
"8fd34": {
|
|
||||||
"importer": "texture-cube-face",
|
|
||||||
"uuid": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0@8fd34",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "8fd34",
|
|
||||||
"name": "left",
|
|
||||||
"userData": {},
|
|
||||||
"ver": "1.0.0",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json",
|
|
||||||
".png"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"userData": {
|
|
||||||
"hasAlpha": false,
|
|
||||||
"type": "texture cube",
|
|
||||||
"redirect": "5af201b5-5951-4e2c-a81f-ac4aad9132cb@b47c0",
|
|
||||||
"fixAlphaTransparencyArtifacts": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,47 +0,0 @@
|
||||||
enable_language(C ASM)
|
|
||||||
set(DEVELOPMENT_TEAM "" CACHE STRING "APPLE Developtment Team")
|
|
||||||
set(RES_DIR "" CACHE STRING "Resource path")
|
|
||||||
set(COCOS_X_PATH "" CACHE STRING "Path to engine/native/")
|
|
||||||
|
|
||||||
set(TARGET_OSX_VERSION "10.14" CACHE STRING "Target MacOSX version" FORCE)
|
|
||||||
set(TARGET_IOS_VERSION "11.0" CACHE STRING "Target iOS version" FORCE)
|
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
|
||||||
option(CC_DEBUG_FORCE "Force enable CC_DEBUG in release mode" OFF)
|
|
||||||
option(USE_SE_V8 "Use V8 JavaScript Engine" ON)
|
|
||||||
option(USE_V8_DEBUGGER "Compile v8 inspector ws server" ON)
|
|
||||||
option(USE_V8_DEBUGGER_FORCE "Force enable debugger in release mode" OFF)
|
|
||||||
option(USE_SOCKET "Enable WebSocket & SocketIO" ON)
|
|
||||||
option(USE_AUDIO "Enable Audio" ON) #Enable AudioEngine
|
|
||||||
option(USE_EDIT_BOX "Enable EditBox" ON)
|
|
||||||
option(USE_SE_JSC "Use JavaScriptCore on MacOSX/iOS" OFF)
|
|
||||||
option(USE_VIDEO "Enable VideoPlayer Component" ON)
|
|
||||||
option(USE_WEBVIEW "Enable WebView Component" ON)
|
|
||||||
option(USE_MIDDLEWARE "Enable Middleware" ON)
|
|
||||||
option(USE_DRAGONBONES "Enable Dragonbones" ON)
|
|
||||||
option(USE_SPINE "Enable Spine" ON)
|
|
||||||
option(USE_WEBSOCKET_SERVER "Enable WebSocket Server" OFF)
|
|
||||||
option(USE_JOB_SYSTEM_TASKFLOW "Use taskflow as job system backend" OFF)
|
|
||||||
option(USE_JOB_SYSTEM_TBB "Use tbb as job system backend" OFF)
|
|
||||||
option(USE_PHYSICS_PHYSX "Use PhysX Physics" ON)
|
|
||||||
option(USE_OCCLUSION_QUERY "Use Occlusion Query" ON)
|
|
||||||
option(USE_DEBUG_RENDERER "Use Debug Renderer" ON)
|
|
||||||
option(USE_GEOMETRY_RENDERER "Use Geometry Renderer" ON)
|
|
||||||
option(USE_WEBP "Use Webp" ON)
|
|
||||||
|
|
||||||
if(NOT RES_DIR)
|
|
||||||
message(FATAL_ERROR "RES_DIR is not set!")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
include(${RES_DIR}/proj/cfg.cmake)
|
|
||||||
|
|
||||||
if(NOT COCOS_X_PATH)
|
|
||||||
message(FATAL_ERROR "COCOS_X_PATH is not set!")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
include(${COCOS_X_PATH}/CMakeLists.txt)
|
|
||||||
|
|
||||||
list(APPEND CC_COMMON_SOURCES
|
|
||||||
${CMAKE_CURRENT_LIST_DIR}/Classes/Game.h
|
|
||||||
${CMAKE_CURRENT_LIST_DIR}/Classes/Game.cpp
|
|
||||||
)
|
|
||||||
|
|
@ -1,70 +0,0 @@
|
||||||
/****************************************************************************
|
|
||||||
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
|
|
||||||
|
|
||||||
http://www.cocos.com
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated engine source code (the "Software"), a limited,
|
|
||||||
worldwide, royalty-free, non-assignable, revocable and non-exclusive license
|
|
||||||
to use Cocos Creator solely to develop games on your target platforms. You shall
|
|
||||||
not use Cocos Creator software for developing other software or tools that's
|
|
||||||
used for developing games. You are not granted to publish, distribute,
|
|
||||||
sublicense, and/or sell copies of Cocos Creator.
|
|
||||||
|
|
||||||
The software or tools in this License Agreement are licensed, not sold.
|
|
||||||
Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
****************************************************************************/
|
|
||||||
#include "Game.h"
|
|
||||||
|
|
||||||
#ifndef GAME_NAME
|
|
||||||
#define GAME_NAME "CocosGame";
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef SCRIPT_XXTEAKEY
|
|
||||||
#define SCRIPT_XXTEAKEY "";
|
|
||||||
#endif
|
|
||||||
|
|
||||||
Game::Game() = default;
|
|
||||||
|
|
||||||
int Game::init() {
|
|
||||||
_windowInfo.title = GAME_NAME;
|
|
||||||
// configurate window size
|
|
||||||
// _windowInfo.height = 600;
|
|
||||||
// _windowInfo.width = 800;
|
|
||||||
|
|
||||||
#if CC_DEBUG
|
|
||||||
_debuggerInfo.enabled = true;
|
|
||||||
#else
|
|
||||||
_debuggerInfo.enabled = false;
|
|
||||||
#endif
|
|
||||||
_debuggerInfo.port = 6086;
|
|
||||||
_debuggerInfo.address = "0.0.0.0";
|
|
||||||
_debuggerInfo.pauseOnStart = false;
|
|
||||||
|
|
||||||
_xxteaKey = SCRIPT_XXTEAKEY;
|
|
||||||
|
|
||||||
BaseGame::init();
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Game::onPause() {
|
|
||||||
BaseGame::onPause();
|
|
||||||
}
|
|
||||||
|
|
||||||
void Game::onResume() {
|
|
||||||
BaseGame::onResume();
|
|
||||||
}
|
|
||||||
|
|
||||||
void Game::onClose() {
|
|
||||||
BaseGame::onClose();
|
|
||||||
}
|
|
||||||
|
|
||||||
CC_REGISTER_APPLICATION(Game);
|
|
||||||
|
|
@ -1,42 +0,0 @@
|
||||||
/****************************************************************************
|
|
||||||
Copyright (c) 2018 Xiamen Yaji Software Co., Ltd.
|
|
||||||
|
|
||||||
http://www.cocos.com
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated engine source code (the "Software"), a limited,
|
|
||||||
worldwide, royalty-free, non-assignable, revocable and non-exclusive license
|
|
||||||
to use Cocos Creator solely to develop games on your target platforms. You shall
|
|
||||||
not use Cocos Creator software for developing other software or tools that's
|
|
||||||
used for developing games. You are not granted to publish, distribute,
|
|
||||||
sublicense, and/or sell copies of Cocos Creator.
|
|
||||||
|
|
||||||
The software or tools in this License Agreement are licensed, not sold.
|
|
||||||
Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
****************************************************************************/
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "cocos/cocos.h"
|
|
||||||
|
|
||||||
/**
|
|
||||||
@brief The cocos2d Application.
|
|
||||||
|
|
||||||
The reason for implement as private inheritance is to hide some interface call by Director.
|
|
||||||
*/
|
|
||||||
class Game : public cc::BaseGame {
|
|
||||||
public:
|
|
||||||
Game();
|
|
||||||
int init() override;
|
|
||||||
//bool init() override;
|
|
||||||
void onPause() override;
|
|
||||||
void onResume() override;
|
|
||||||
void onClose() override;
|
|
||||||
};
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
{"version":"3.6.0","skipCheck":false}
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
//
|
|
||||||
// Use this file to import your target's public headers that you would like to expose to Swift.
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
@ -1,38 +0,0 @@
|
||||||
/****************************************************************************
|
|
||||||
Copyright (c) 2010-2013 cocos2d-x.org
|
|
||||||
Copyright (c) 2013-2016 Chukong Technologies Inc.
|
|
||||||
Copyright (c) 2017-2022 Xiamen Yaji Software Co., Ltd.
|
|
||||||
|
|
||||||
http://www.cocos.com
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated engine source code (the "Software"), a limited,
|
|
||||||
worldwide, royalty-free, non-assignable, revocable and non-exclusive license
|
|
||||||
to use Cocos Creator solely to develop games on your target platforms. You shall
|
|
||||||
not use Cocos Creator software for developing other software or tools that's
|
|
||||||
used for developing games. You are not granted to publish, distribute,
|
|
||||||
sublicense, and/or sell copies of Cocos Creator.
|
|
||||||
|
|
||||||
The software or tools in this License Agreement are licensed, not sold.
|
|
||||||
Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#import <UIKit/UIKit.h>
|
|
||||||
#import "platform/ios/AppDelegateBridge.h"
|
|
||||||
|
|
||||||
@class ViewController;
|
|
||||||
|
|
||||||
@interface AppDelegate : NSObject <UIApplicationDelegate> {
|
|
||||||
}
|
|
||||||
|
|
||||||
@property (nonatomic, readonly) ViewController* viewController;
|
|
||||||
@property (nonatomic, readonly) AppDelegateBridge* appDelegateBridge;
|
|
||||||
@end
|
|
||||||
|
|
@ -1,107 +0,0 @@
|
||||||
/****************************************************************************
|
|
||||||
Copyright (c) 2010-2013 cocos2d-x.org
|
|
||||||
Copyright (c) 2013-2016 Chukong Technologies Inc.
|
|
||||||
Copyright (c) 2017-2022 Xiamen Yaji Software Co., Ltd.
|
|
||||||
|
|
||||||
http://www.cocos.com
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated engine source code (the "Software"), a limited,
|
|
||||||
worldwide, royalty-free, non-assignable, revocable and non-exclusive license
|
|
||||||
to use Cocos Creator solely to develop games on your target platforms. You shall
|
|
||||||
not use Cocos Creator software for developing other software or tools that's
|
|
||||||
used for developing games. You are not granted to publish, distribute,
|
|
||||||
sublicense, and/or sell copies of Cocos Creator.
|
|
||||||
|
|
||||||
The software or tools in this License Agreement are licensed, not sold.
|
|
||||||
Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#import "AppDelegate.h"
|
|
||||||
#import "ViewController.h"
|
|
||||||
#import "View.h"
|
|
||||||
|
|
||||||
#include "platform/ios/IOSPlatform.h"
|
|
||||||
#import "platform/ios/AppDelegateBridge.h"
|
|
||||||
#import "service/SDKWrapper.h"
|
|
||||||
|
|
||||||
@implementation AppDelegate
|
|
||||||
@synthesize window;
|
|
||||||
@synthesize appDelegateBridge;
|
|
||||||
|
|
||||||
#pragma mark -
|
|
||||||
#pragma mark Application lifecycle
|
|
||||||
|
|
||||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
|
||||||
[[SDKWrapper shared] application:application didFinishLaunchingWithOptions:launchOptions];
|
|
||||||
appDelegateBridge = [[AppDelegateBridge alloc] init];
|
|
||||||
|
|
||||||
// Add the view controller's view to the window and display.
|
|
||||||
CGRect bounds = [[UIScreen mainScreen] bounds];
|
|
||||||
self.window = [[UIWindow alloc] initWithFrame:bounds];
|
|
||||||
|
|
||||||
// Should create view controller first, cc::Application will use it.
|
|
||||||
_viewController = [[ViewController alloc] init];
|
|
||||||
_viewController.view = [[View alloc] initWithFrame:bounds];
|
|
||||||
_viewController.view.contentScaleFactor = UIScreen.mainScreen.scale;
|
|
||||||
_viewController.view.multipleTouchEnabled = true;
|
|
||||||
[self.window setRootViewController:_viewController];
|
|
||||||
|
|
||||||
[self.window makeKeyAndVisible];
|
|
||||||
[appDelegateBridge application:application didFinishLaunchingWithOptions:launchOptions];
|
|
||||||
return YES;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)applicationWillResignActive:(UIApplication *)application {
|
|
||||||
/*
|
|
||||||
Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
|
|
||||||
Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
|
|
||||||
*/
|
|
||||||
[[SDKWrapper shared] applicationWillResignActive:application];
|
|
||||||
[appDelegateBridge applicationWillResignActive:application];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)applicationDidBecomeActive:(UIApplication *)application {
|
|
||||||
/*
|
|
||||||
Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
|
|
||||||
*/
|
|
||||||
[[SDKWrapper shared] applicationDidBecomeActive:application];
|
|
||||||
[appDelegateBridge applicationDidBecomeActive:application];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)applicationDidEnterBackground:(UIApplication *)application {
|
|
||||||
/*
|
|
||||||
Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
|
|
||||||
If your application supports background execution, called instead of applicationWillTerminate: when the user quits.
|
|
||||||
*/
|
|
||||||
[[SDKWrapper shared] applicationDidEnterBackground:application];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)applicationWillEnterForeground:(UIApplication *)application {
|
|
||||||
/*
|
|
||||||
Called as part of transition from the background to the inactive state: here you can undo many of the changes made on entering the background.
|
|
||||||
*/
|
|
||||||
[[SDKWrapper shared] applicationWillEnterForeground:application];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)applicationWillTerminate:(UIApplication *)application {
|
|
||||||
[[SDKWrapper shared] applicationWillTerminate:application];
|
|
||||||
[appDelegateBridge applicationWillTerminate:application];
|
|
||||||
}
|
|
||||||
|
|
||||||
#pragma mark -
|
|
||||||
#pragma mark Memory management
|
|
||||||
|
|
||||||
- (void)applicationDidReceiveMemoryWarning:(UIApplication *)application {
|
|
||||||
[[SDKWrapper shared] applicationDidReceiveMemoryWarning:application];
|
|
||||||
}
|
|
||||||
|
|
||||||
@end
|
|
||||||
|
|
@ -1,45 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13196" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
|
|
||||||
<device id="retina5_9" orientation="landscape">
|
|
||||||
<adaptation id="fullscreen"/>
|
|
||||||
</device>
|
|
||||||
<dependencies>
|
|
||||||
<deployment version="1792" identifier="iOS"/>
|
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13173"/>
|
|
||||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
|
||||||
</dependencies>
|
|
||||||
<scenes>
|
|
||||||
<!--View Controller-->
|
|
||||||
<scene sceneID="EHf-IW-A2E">
|
|
||||||
<objects>
|
|
||||||
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
|
|
||||||
<layoutGuides>
|
|
||||||
<viewControllerLayoutGuide type="top" id="fm7-M6-edp"/>
|
|
||||||
<viewControllerLayoutGuide type="bottom" id="uRH-d6-mvd"/>
|
|
||||||
</layoutGuides>
|
|
||||||
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
|
|
||||||
<rect key="frame" x="0.0" y="0.0" width="812" height="375"/>
|
|
||||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
|
||||||
<subviews>
|
|
||||||
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleAspectFill" insetsLayoutMarginsFromSafeArea="NO" image="LaunchScreenBackground.png" translatesAutoresizingMaskIntoConstraints="NO" id="YCC-wj-Gww" userLabel="Background">
|
|
||||||
<rect key="frame" x="0.0" y="0.0" width="812" height="375"/>
|
|
||||||
</imageView>
|
|
||||||
</subviews>
|
|
||||||
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
|
||||||
<constraints>
|
|
||||||
<constraint firstAttribute="bottom" secondItem="YCC-wj-Gww" secondAttribute="bottom" id="Naz-ae-jWI"/>
|
|
||||||
<constraint firstAttribute="trailing" secondItem="YCC-wj-Gww" secondAttribute="trailing" id="myj-85-hk9"/>
|
|
||||||
<constraint firstItem="YCC-wj-Gww" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leading" id="qOq-Cg-doS"/>
|
|
||||||
<constraint firstItem="YCC-wj-Gww" firstAttribute="top" secondItem="Ze5-6b-2t3" secondAttribute="top" id="xL7-Fo-4bl"/>
|
|
||||||
</constraints>
|
|
||||||
</view>
|
|
||||||
</viewController>
|
|
||||||
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
|
||||||
</objects>
|
|
||||||
<point key="canvasLocation" x="50.399999999999999" y="373.15270935960592"/>
|
|
||||||
</scene>
|
|
||||||
</scenes>
|
|
||||||
<resources>
|
|
||||||
<image name="LaunchScreenBackground.png" width="2208" height="1242"/>
|
|
||||||
</resources>
|
|
||||||
</document>
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
/*
|
|
||||||
Localizable.strings
|
|
||||||
*/
|
|
||||||
|
|
||||||
"done" = "Done";
|
|
||||||
"next" = "Next";
|
|
||||||
"search" = "Search";
|
|
||||||
"go" = "Go";
|
|
||||||
"send" = "Send";
|
|
||||||
|
|
@ -1,20 +0,0 @@
|
||||||
cmake_minimum_required(VERSION 3.8)
|
|
||||||
|
|
||||||
set(CMAKE_SYSTEM_NAME iOS)
|
|
||||||
set(APP_NAME "cocos_demo_3" CACHE STRING "Project Name")
|
|
||||||
|
|
||||||
project(${APP_NAME} CXX)
|
|
||||||
|
|
||||||
set(CC_PROJECT_DIR ${CMAKE_CURRENT_LIST_DIR})
|
|
||||||
set(CC_UI_RESOURCES)
|
|
||||||
set(CC_PROJ_SOURCES)
|
|
||||||
set(CC_ASSET_FILES)
|
|
||||||
set(CC_COMMON_SOURCES)
|
|
||||||
set(CC_ALL_SOURCES)
|
|
||||||
|
|
||||||
include(${CC_PROJECT_DIR}/../common/CMakeLists.txt)
|
|
||||||
set(EXECUTABLE_NAME ${APP_NAME}-mobile)
|
|
||||||
|
|
||||||
cc_ios_before_target(${EXECUTABLE_NAME})
|
|
||||||
add_executable(${EXECUTABLE_NAME} ${CC_ALL_SOURCES})
|
|
||||||
cc_ios_after_target(${EXECUTABLE_NAME})
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
//
|
|
||||||
// CocosNative.m
|
|
||||||
// boost_container
|
|
||||||
//
|
|
||||||
// Created by 雨川 on 2022/9/6.
|
|
||||||
//
|
|
||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
|
||||||
|
Before Width: | Height: | Size: 216 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 8.3 KiB |
|
|
@ -1 +0,0 @@
|
||||||
{"images":[{"size":"60x60","expected-size":"180","filename":"180.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"40x40","expected-size":"80","filename":"80.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"40x40","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"60x60","expected-size":"120","filename":"120.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"57x57","expected-size":"57","filename":"57.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"58","filename":"58.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"29x29","expected-size":"29","filename":"29.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"1x"},{"size":"29x29","expected-size":"87","filename":"87.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"57x57","expected-size":"114","filename":"114.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"40","filename":"40.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"2x"},{"size":"20x20","expected-size":"60","filename":"60.png","folder":"Assets.xcassets/AppIcon.appiconset/","idiom":"iphone","scale":"3x"},{"size":"1024x1024","filename":"1024.png","expected-size":"1024","idiom":"ios-marketing","folder":"Assets.xcassets/AppIcon.appiconset/","scale":"1x"}]}
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
"info" : {
|
|
||||||
"author" : "xcode",
|
|
||||||
"version" : 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,56 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>UILaunchStoryboardName</key>
|
|
||||||
<string>LaunchScreen</string>
|
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
|
||||||
<string>English</string>
|
|
||||||
<key>CFBundleDisplayName</key>
|
|
||||||
<string>${PRODUCT_NAME}</string>
|
|
||||||
<key>CFBundleExecutable</key>
|
|
||||||
<string>${EXECUTABLE_NAME}</string>
|
|
||||||
<key>CFBundleIcons~ipad</key>
|
|
||||||
<dict/>
|
|
||||||
<key>CFBundleIdentifier</key>
|
|
||||||
<string>${MACOSX_BUNDLE_GUI_IDENTIFIER}</string>
|
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
|
||||||
<string>6.0</string>
|
|
||||||
<key>CFBundleName</key>
|
|
||||||
<string>${PRODUCT_NAME}</string>
|
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>APPL</string>
|
|
||||||
<key>CFBundleShortVersionString</key>
|
|
||||||
<string>1.0.0</string>
|
|
||||||
<key>CFBundleSignature</key>
|
|
||||||
<string>????</string>
|
|
||||||
<key>CFBundleVersion</key>
|
|
||||||
<string>1.0</string>
|
|
||||||
<key>LSRequiresIPhoneOS</key>
|
|
||||||
<true/>
|
|
||||||
<key>NSAppTransportSecurity</key>
|
|
||||||
<dict>
|
|
||||||
<key>NSAllowsArbitraryLoads</key>
|
|
||||||
<true/>
|
|
||||||
</dict>
|
|
||||||
<key>UIPrerenderedIcon</key>
|
|
||||||
<true/>
|
|
||||||
<key>UIRequiredDeviceCapabilities</key>
|
|
||||||
<dict>
|
|
||||||
<key>accelerometer</key>
|
|
||||||
<true/>
|
|
||||||
<key>opengles-1</key>
|
|
||||||
<true/>
|
|
||||||
</dict>
|
|
||||||
<key>UIRequiresFullScreen</key>
|
|
||||||
<true/>
|
|
||||||
<key>UIStatusBarHidden</key>
|
|
||||||
<true/>
|
|
||||||
<key>UISupportedInterfaceOrientations</key>
|
|
||||||
<array>
|
|
||||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
||||||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
||||||
|
|
||||||
</array>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
//
|
|
||||||
// JSHandleClass.h
|
|
||||||
// TestDemo
|
|
||||||
//
|
|
||||||
// Created by Etrent on 2022/9/5.
|
|
||||||
//
|
|
||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
|
||||||
|
|
||||||
@interface JSHandleClass : NSObject
|
|
||||||
|
|
||||||
|
|
||||||
+ (void)init;
|
|
||||||
+ (void)walleConnectFun:(NSString*) urlTypesStr;
|
|
||||||
+ (void)sendMessageFun:(NSString*) jsonStr;
|
|
||||||
+ (void)sendContractFun:(NSString*) jsonStr;
|
|
||||||
@end
|
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
|
||||||
|
|
@ -1,38 +0,0 @@
|
||||||
//
|
|
||||||
// JSHandleClass.m
|
|
||||||
// TestDemo
|
|
||||||
//
|
|
||||||
// Created by Etrent on 2022/9/5.
|
|
||||||
//
|
|
||||||
|
|
||||||
#import "JSHandleClass.h"
|
|
||||||
#import "cocos_demo_3_mobile-Swift.h"
|
|
||||||
|
|
||||||
MyWalletConnect* wc;
|
|
||||||
@implementation JSHandleClass
|
|
||||||
|
|
||||||
+ (void) init{
|
|
||||||
wc =[MyWalletConnect alloc];
|
|
||||||
[wc initWalleConnect];
|
|
||||||
NSLog(@"调用到了init");
|
|
||||||
}
|
|
||||||
|
|
||||||
+ (void)walleConnectFun:(NSString*)urlTypesStr {
|
|
||||||
[wc walleConnectFunWithUrlTypeStr:urlTypesStr];
|
|
||||||
NSLog(@"调用到了walleConnectFun");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
+ (void)sendMessageFun:(NSString*)jsonStr {
|
|
||||||
[wc customRequestsWithJsonStr:jsonStr];
|
|
||||||
// @"{\"method\": \"personal_sign\",\"params\": [\"0x49206861766520313030e282ac\",\"0x2eB535d54382eA5CED9183899916A9d39e093877\"]}"
|
|
||||||
[wc walleConnectFunWithUrlTypeStr:@"imtokenv2"];
|
|
||||||
}
|
|
||||||
|
|
||||||
+ (void)sendContractFun:(NSString*)jsonStr {
|
|
||||||
[wc contractRequestWithJsonStr:jsonStr];
|
|
||||||
// @"{\"method\": \"personal_sign\",\"params\": [\"0x49206861766520313030e282ac\",\"0x2eB535d54382eA5CED9183899916A9d39e093877\"]}"
|
|
||||||
[wc walleConnectFunWithUrlTypeStr:@"imtokenv2"];
|
|
||||||
}
|
|
||||||
|
|
||||||
@end
|
|
||||||
|
Before Width: | Height: | Size: 656 KiB |
|
Before Width: | Height: | Size: 656 KiB |
|
Before Width: | Height: | Size: 454 KiB |
|
|
@ -1 +0,0 @@
|
||||||
# Supported for Cocos Service!
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
# Supported for Cocos Service!
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
//
|
|
||||||
// Prefix header for all source files of the 'HelloJavascript' target in the 'HelloJavascript' project
|
|
||||||
//
|
|
||||||
|
|
||||||
#ifdef __OBJC__
|
|
||||||
#import <Foundation/Foundation.h>
|
|
||||||
#import <UIKit/UIKit.h>
|
|
||||||
#endif
|
|
||||||