更新成功逻辑

master
2021744738 1 year ago
parent caa3889bb9
commit abd92558fb

Binary file not shown.

@ -263,6 +263,9 @@
<Reference Include="SyntaxTree.VisualStudio.Unity.Bridge">
<HintPath>C:/Program Files (x86)/Microsoft Visual Studio Tools for Unity/16.0/Editor/SyntaxTree.VisualStudio.Unity.Bridge.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json">
<HintPath>D:/UnityProject/Project/xf/Place/Assets/Common/Plugin/JsonDotNet/Assemblies/Standalone/Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="DOTween">
<HintPath>D:/UnityProject/Project/xf/Place/Assets/Plugins/Demigiant/DOTween/DOTween.dll</HintPath>
</Reference>

@ -260,11 +260,14 @@
<Reference Include="UnityEditor.UI">
<HintPath>Library/ScriptAssemblies/UnityEditor.UI.dll</HintPath>
</Reference>
<Reference Include="DOTween">
<HintPath>Assets/Plugins/Demigiant/DOTween/DOTween.dll</HintPath>
</Reference>
<Reference Include="nunit.framework">
<HintPath>D:/UnityProject/Project/xf/Place/Library/PackageCache/com.unity.ext.nunit@1.0.5/net35/unity-custom/nunit.framework.dll</HintPath>
</Reference>
<Reference Include="DOTween">
<HintPath>Assets/Plugins/Demigiant/DOTween/DOTween.dll</HintPath>
<Reference Include="Newtonsoft.Json">
<HintPath>Assets/Common/Plugin/JsonDotNet/Assemblies/Standalone/Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="netstandard">
<HintPath>D:\UnityHub\2019.4.17f1c1\Editor\Data\NetStandard\ref\2.0.0\netstandard.dll</HintPath>

@ -256,6 +256,9 @@
<Reference Include="UnityEditor">
<HintPath>D:/UnityHub/2019.4.17f1c1/Editor/Data/Managed/UnityEditor.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json">
<HintPath>D:/UnityProject/Project/xf/Place/Assets/Common/Plugin/JsonDotNet/Assemblies/Standalone/Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="DOTween">
<HintPath>D:/UnityProject/Project/xf/Place/Assets/Plugins/Demigiant/DOTween/DOTween.dll</HintPath>
</Reference>

@ -269,6 +269,9 @@
<Reference Include="nunit.framework">
<HintPath>D:/UnityProject/Project/xf/Place/Library/PackageCache/com.unity.ext.nunit@1.0.5/net35/unity-custom/nunit.framework.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json">
<HintPath>Assets/Common/Plugin/JsonDotNet/Assemblies/Standalone/Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="netstandard">
<HintPath>D:\UnityHub\2019.4.17f1c1\Editor\Data\NetStandard\ref\2.0.0\netstandard.dll</HintPath>
</Reference>
@ -626,6 +629,18 @@
<Compile Include="Assets\BuildSystem\Scripts\UI\BuildTip.cs" />
<Compile Include="Assets\BuildSystem\Scripts\UI\GridUI.cs" />
<Compile Include="Assets\BuildSystem\Scripts\UI\Select.cs" />
<Compile Include="Assets\Common\EduCoderWebSupport\WebConnectSample.cs" />
<Compile Include="Assets\Common\EduCoderWebSupport\WebConnecter.cs" />
<Compile Include="Assets\Common\Plugin\JsonNetSample\JsonNetSample.cs" />
</ItemGroup>
<ItemGroup>
<None Include="Assets\Common\Plugin\JsonDotNet\Assemblies\AOT\Newtonsoft.Json.XML" />
<None Include="Assets\Common\Plugin\JsonDotNet\Assemblies\AOT\Newtonsoft.Json.dll" />
<None Include="Assets\Common\Plugin\JsonDotNet\Assemblies\Standalone\Newtonsoft.Json.XML" />
<None Include="Assets\Common\Plugin\JsonDotNet\Assemblies\Standalone\Newtonsoft.Json.dll" />
<None Include="Assets\Common\Plugin\JsonDotNet\Assemblies\Windows\Newtonsoft.Json.XML" />
<None Include="Assets\Common\Plugin\JsonDotNet\Assemblies\Windows\Newtonsoft.Json.dll" />
<None Include="Assets\Common\Plugin\JsonDotNet\link.xml" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="GenerateTargetFrameworkMonikerAttribute" />

@ -74,6 +74,10 @@
<Compile Include="Assets\BuildSystem\Scripts\UI\BuildTip.cs" />
<Compile Include="Assets\BuildSystem\Scripts\UI\GridUI.cs" />
<Compile Include="Assets\BuildSystem\Scripts\UI\Select.cs" />
<Compile Include="Assets\Common\EduCoderWebSupport\WebConnectSample.cs" />
<Compile Include="Assets\Common\EduCoderWebSupport\WebConnecter.cs" />
<Compile Include="Assets\Common\Plugin\JsonNetSample\JsonNetSample.cs" />
<None Include="Assets\Common\Plugin\JsonDotNet\link.xml" />
<Reference Include="UnityEngine">
<HintPath>D:/UnityHub/2019.4.17f1c1/Editor/Data/Managed/UnityEngine/UnityEngine.dll</HintPath>
</Reference>
@ -257,6 +261,9 @@
<Reference Include="UnityEditor">
<HintPath>D:/UnityHub/2019.4.17f1c1/Editor/Data/Managed/UnityEditor.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json">
<HintPath>D:/UnityProject/Project/xf/Place/Assets/Common/Plugin/JsonDotNet/Assemblies/Standalone/Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="DOTween">
<HintPath>D:/UnityProject/Project/xf/Place/Assets/Plugins/Demigiant/DOTween/DOTween.dll</HintPath>
</Reference>

@ -4,6 +4,10 @@ using UnityEngine;
namespace BuildSystem
{
public enum RoadType
{
Straight,T,Ten
}
public enum IsHave
{
Yes,No,None
@ -21,7 +25,8 @@ namespace BuildSystem
public Transform prefab;
public int width;
public int height;
public PlaceObjectType type;
public IsHave[] ishave = new IsHave[4];
public RoadType roadType;//道路类型
public PlaceObjectType[] type = new PlaceObjectType[4];//道路车道类型
public IsHave[] ishave = new IsHave[4];//道路是否有通道
}
}

@ -430,6 +430,7 @@ MonoBehaviour:
isCanPlace: 1
green: {fileID: 2100000, guid: 1104f6a3c258a474487112336d7a4381, type: 2}
red: {fileID: 2100000, guid: ea6704263e39ac742abc2ac233c3dcb0, type: 2}
isGameEnd: 0
t2up: {fileID: 11400000, guid: b23c1945520cf224983adf6101d9f50e, type: 2}
t2down: {fileID: 11400000, guid: 4d14daf8a6aefb54db22812b28dafddf, type: 2}
h2: {fileID: 11400000, guid: a8c03fa26591de3439bc8fdc6fee07b2, type: 2}
@ -437,10 +438,10 @@ MonoBehaviour:
t2right: {fileID: 11400000, guid: 1e0149d6058a0b444b818bb8157731cc, type: 2}
v2: {fileID: 11400000, guid: da05c01ed36598a48890f5800fd65827, type: 2}
w:
- {fileID: 11400000, guid: e17b3b08fa818124d9c26a54dd60ef37, type: 2}
- {fileID: 11400000, guid: e17b3b08fa818124d9c26a54dd60ef37, type: 2}
- {fileID: 11400000, guid: e17b3b08fa818124d9c26a54dd60ef37, type: 2}
- {fileID: 11400000, guid: e17b3b08fa818124d9c26a54dd60ef37, type: 2}
- {fileID: 11400000, guid: 3302f29b07d918340a21f890ce29dbac, type: 2}
- {fileID: 11400000, guid: 3302f29b07d918340a21f890ce29dbac, type: 2}
- {fileID: 11400000, guid: 3302f29b07d918340a21f890ce29dbac, type: 2}
- {fileID: 11400000, guid: 3302f29b07d918340a21f890ce29dbac, type: 2}
--- !u!114 &374764126
MonoBehaviour:
m_ObjectHideFlags: 0

@ -29,19 +29,19 @@ namespace BuildSystem {
public static bool IsCanPlace(this Grid self, PlaceObject placeObject) {
bool isCanPlace = true;
if (self.up!=null && isCanPlace) {
isCanPlace = (self.up.isHaves[2] == IsHave.None) || ((self.up.isHaves[2] == placeObject.ishave[0]) && (self.up.type == placeObject.type || (self.up.isHaves[2] == IsHave.No && IsHave.No == placeObject.ishave[0])));
isCanPlace = (self.up.isHaves[2] == IsHave.None) || ((self.up.isHaves[2] == placeObject.ishave[0]) && (self.up.type[2] == placeObject.type[0] || (self.up.isHaves[2] == IsHave.No && IsHave.No == placeObject.ishave[0])));
}
if (self.right != null && isCanPlace)
{
isCanPlace = (self.right.isHaves[3] == IsHave.None) || ((self.right.isHaves[3] == placeObject.ishave[1]) && (self.right.type == placeObject.type || (self.right.isHaves[3] == IsHave.No && IsHave.No == placeObject.ishave[1])));
isCanPlace = (self.right.isHaves[3] == IsHave.None) || ((self.right.isHaves[3] == placeObject.ishave[1]) && (self.right.type[3] == placeObject.type[1] || (self.right.isHaves[3] == IsHave.No && IsHave.No == placeObject.ishave[1])));
}
if (self.down != null && isCanPlace)
{
isCanPlace = (self.down.isHaves[0] == IsHave.None) || ((self.down.isHaves[0] == placeObject.ishave[2]) && (self.down.type == placeObject.type || (self.down.isHaves[0] == IsHave.No && IsHave.No == placeObject.ishave[2])));
isCanPlace = (self.down.isHaves[0] == IsHave.None) || ((self.down.isHaves[0] == placeObject.ishave[2]) && (self.down.type[0] == placeObject.type[2] || (self.down.isHaves[0] == IsHave.No && IsHave.No == placeObject.ishave[2])));
}
if (self.left != null && isCanPlace)
{
isCanPlace = (self.left.isHaves[1] == IsHave.None) || ((self.left.isHaves[1] == placeObject.ishave[3]) && (self.left.type == placeObject.type || (self.left.isHaves[1] == IsHave.No && IsHave.No == placeObject.ishave[3])));
isCanPlace = (self.left.isHaves[1] == IsHave.None) || ((self.left.isHaves[1] == placeObject.ishave[3]) && (self.left.type[1] == placeObject.type[3] || (self.left.isHaves[1] == IsHave.No && IsHave.No == placeObject.ishave[3])));
}
return isCanPlace;
}

@ -25,6 +25,8 @@ namespace BuildSystem
public Material green;
public Material red;
public bool isGameEnd = false;
[Header("用于初始化地图")]
public PlaceObject_SO t2up;
public PlaceObject_SO t2down;
@ -125,7 +127,7 @@ namespace BuildSystem
Transform trans = Instantiate(placeObject_SO.prefab, transform);
PlaceObject obj = trans.gameObject.AddComponent<PlaceObject>();
obj.Init(placeObject_SO.nameString,
placeObject_SO.width, placeObject_SO.height, placeObject_SO.type,placeObject_SO.ishave);
placeObject_SO.width, placeObject_SO.height, placeObject_SO.type,placeObject_SO.ishave,placeObject_SO.roadType);
obj.SetPosition(GetGridPos(mouseClick.MouseInGrid()));
return obj;
}
@ -139,13 +141,14 @@ namespace BuildSystem
void CreatePlace(PlaceObject_SO place,int x,int y) {
Transform trans = Instantiate(place.prefab, transform);
PlaceObject obj = trans.gameObject.AddComponent<PlaceObject>();
obj.Init(place.nameString,
place.width, place.height, place.type, place.ishave);
obj.Init(place.nameString,place.width, place.height, place.type, place.ishave, place.roadType);
obj.SetPosition(GetGridPos(new Vector3Int(x,0,y)));
gridMap[x][y].isPlace = true;
gridMap[x][y].type = place.type;
gridMap[x][y].isHaves = place.ishave;
gridMap[x][y].type = place.type;
gridMap[x][y].roadType = place.roadType;
}
@ -182,7 +185,7 @@ namespace BuildSystem
}
if (!isCreateSuccess)
{
buildTip.ShowTip("放置失败");
buildTip.ShowTip("当前位置存在建筑");
return false;
}
@ -191,7 +194,7 @@ namespace BuildSystem
{
if (!gridMap[start.x][start.z].IsCanPlace(placeObj))
{
buildTip.ShowTip("周围放置类型不对");
buildTip.ShowTip("当前位置存在放置存在风险");
return false;
}
}
@ -239,6 +242,43 @@ namespace BuildSystem
return gridMap[pos.x][pos.z].pos;
}
public bool IsGameEnd() {
for (int i = 0; i < mapSize.x; i++)
{
for (int j = 0; j < mapSize.y; j++)
{
if (gridMap[i][j].isPlace) {
int index = 0;
int number = 0;
foreach (IsHave have in gridMap[i][j].isHaves) {
if (have == IsHave.Yes) {
index++;
}
}
if (gridMap[i][j].up!=null && gridMap[i][j].up.isPlace) {
number++;
}
if (gridMap[i][j].down != null && gridMap[i][j].down.isPlace) {
number++;
}
if (gridMap[i][j].left != null && gridMap[i][j].left.isPlace)
{
number++;
}
if (gridMap[i][j].right != null && gridMap[i][j].right.isPlace)
{
number++;
}
if (index != number) {
return false;
}
}
}
}
return true;
}
private void Update()
{
//物体跟随鼠标
@ -255,6 +295,7 @@ namespace BuildSystem
CreatePlace(placeObject_SO, mouseClick.MouseInGrid().x, mouseClick.MouseInGrid().z);
}
//变色提示
if (placeObj) {
Material[] materials = placeObj.GetComponent<MeshRenderer>().materials;
@ -279,6 +320,12 @@ namespace BuildSystem
}
}
if (IsGameEnd() && !isGameEnd)
{
isGameEnd = true;
Debug.Log("通关");
EduCoderTool.WebConnecter.Singleton.SendResultToWeb(true);
}
}

@ -21,8 +21,10 @@ namespace BuildSystem
public bool isPlace = false;
public PlaceObjectType type = PlaceObjectType.None;
public RoadType roadType;
public PlaceObjectType[] type = new PlaceObjectType[4] { PlaceObjectType.None, PlaceObjectType.None, PlaceObjectType.None, PlaceObjectType.None};
public Grid(Vector3Int logicPos) {
this.logicPos = logicPos;
x = this.logicPos.x;
@ -37,7 +39,6 @@ namespace BuildSystem
down = null;
left = null;
right = null;
type = PlaceObjectType.None;
}
public Grid(int x,int y ,int z)
{
@ -54,7 +55,6 @@ namespace BuildSystem
down = null;
left = null;
right = null;
type = PlaceObjectType.None;
}

@ -6,18 +6,20 @@ namespace BuildSystem
{
public class PlaceObject : MonoBehaviour
{
public string nameString;
public string nameString="";
public int width;
public int height;
public PlaceObjectType type;
public IsHave[] ishave = new IsHave[4];
public PlaceObjectType[] type = new PlaceObjectType[4];
public RoadType roadType;
public void Init(string nameString,int width,int height,PlaceObjectType type,IsHave[] ishave) {
public void Init(string nameString,int width,int height,PlaceObjectType[] type,IsHave[] ishave, RoadType roadType) {
this.nameString = nameString;
this.width = width;
this.height = height;
this.type = type;
this.ishave = ishave;
this.roadType = roadType;
}
/// <summary>

@ -16,5 +16,6 @@ MonoBehaviour:
prefab: {fileID: 8339950437086525092, guid: eaf20a27586627f44853f75d45922dc6, type: 3}
width: 1
height: 1
type: 1
roadType: 1
type: 00000000010000000100000001000000
ishave: 01000000000000000000000000000000

@ -16,5 +16,6 @@ MonoBehaviour:
prefab: {fileID: 8339950437086525092, guid: 670cd5f794b5fc64d9fb90b5d510807c, type: 3}
width: 1
height: 1
type: 1
roadType: 1
type: 01000000000000000100000001000000
ishave: 00000000010000000000000000000000

@ -16,5 +16,6 @@ MonoBehaviour:
prefab: {fileID: 8339950437086525092, guid: 27cd5ff7c976a204695b6f5c09dd432a, type: 3}
width: 1
height: 1
type: 1
roadType: 1
type: 01000000010000000100000000000000
ishave: 00000000000000000000000001000000

@ -16,5 +16,6 @@ MonoBehaviour:
prefab: {fileID: 8339950437086525092, guid: 27c5680a80450db4882f7b99a827a28a, type: 3}
width: 1
height: 1
type: 1
roadType: 1
type: 01000000010000000000000001000000
ishave: 00000000000000000100000000000000

@ -16,5 +16,6 @@ MonoBehaviour:
prefab: {fileID: 1158122193222068242, guid: f37d5e892b30dd44f9107eedf283ee46, type: 3}
width: 1
height: 1
type: 2
roadType: 1
type: 00000000020000000200000002000000
ishave: 01000000000000000000000000000000

@ -16,5 +16,6 @@ MonoBehaviour:
prefab: {fileID: 1158122193222068242, guid: df9b261ebfa2f0945b78464aad70ba39, type: 3}
width: 1
height: 1
type: 2
roadType: 1
type: 02000000000000000200000002000000
ishave: 00000000010000000000000000000000

@ -16,5 +16,6 @@ MonoBehaviour:
prefab: {fileID: 1158122193222068242, guid: 625a0e88bac689e4292fc2d1d048c076, type: 3}
width: 1
height: 1
type: 2
roadType: 1
type: 02000000020000000200000000000000
ishave: 00000000000000000000000001000000

@ -16,5 +16,6 @@ MonoBehaviour:
prefab: {fileID: 1158122193222068242, guid: a53ed2546b04870459b559e5d1f84b4b, type: 3}
width: 1
height: 1
type: 2
roadType: 1
type: 02000000020000000000000002000000
ishave: 00000000000000000100000000000000

@ -16,5 +16,5 @@ MonoBehaviour:
prefab: {fileID: 7730785900790319310, guid: a10acc1ca9bb6ac46a6dcce0aad330f7, type: 3}
width: 1
height: 1
type: 1
type: 00000000010000000000000001000000
ishave: 01000000000000000100000000000000

@ -16,5 +16,5 @@ MonoBehaviour:
prefab: {fileID: 1423661270501727804, guid: 4775bc73ab683594b9726bcabd3e271a, type: 3}
width: 1
height: 1
type: 2
type: 00000000020000000000000002000000
ishave: 01000000000000000100000000000000

@ -16,5 +16,5 @@ MonoBehaviour:
prefab: {fileID: 7730785900790319310, guid: 6192a60d5b5a6fa459cdb1b7555c1dbb, type: 3}
width: 1
height: 1
type: 1
type: 01000000000000000100000000000000
ishave: 00000000010000000000000001000000

@ -16,5 +16,5 @@ MonoBehaviour:
prefab: {fileID: 1423661270501727804, guid: c23ad9bc2314911438f54277efdfcb12, type: 3}
width: 1
height: 1
type: 2
type: 02000000000000000200000000000000
ishave: 00000000010000000000000001000000

@ -16,5 +16,6 @@ MonoBehaviour:
prefab: {fileID: 3109782483930183191, guid: 02ef79b3d4d57fb4986cf98a1515bbff, type: 3}
width: 1
height: 1
type: 2
roadType: 2
type: 02000000020000000200000002000000
ishave: 00000000000000000000000000000000

@ -16,5 +16,6 @@ MonoBehaviour:
prefab: {fileID: 2804172998402099574, guid: 325919e7c30eca14facca5a02c731292, type: 3}
width: 1
height: 1
type: 1
roadType: 2
type: 01000000010000000100000001000000
ishave: 00000000000000000000000000000000

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: faae8d0ea0ba4ed4a91f5b5ad0bb1691
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 36f1756d6a2232e4abb136594e8c7817
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,30 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class WebConnectSample : MonoBehaviour
{
public Text recTxt;
private void Awake()
{
//注册接收方法
EduCoderTool.WebConnecter.Singleton.dataHandle += ReceiveWebMsg;
}
//接收从平台发送过来的数据
void ReceiveWebMsg(string data)
{
Debug.Log("ReceiveWebMsg:" + data);
recTxt.text = data;
}
//提交成绩一共有3个方法这里展示了常用的提交分数的方法
public void ButtonClick()
{
EduCoderTool.WebConnecter.Singleton.SendResultToWeb(true, 90);
}
}

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 0550a7372904fc74ea3f3607c91bac07
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,105 @@

using UnityEngine;
using System;
using System.Runtime.InteropServices;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace EduCoderTool
{
/*
* web
* @author lz
**/
public class WebConnecter : MonoBehaviour
{
private static WebConnecter instance = null;
/// <summary>
/// 单例
/// </summary>
public static WebConnecter Singleton
{
get
{
if(instance == null)
{
instance = GameObject.FindObjectOfType<WebConnecter>();
if(instance == null)
{
GameObject go = new GameObject("WebConnecter");
instance = go.AddComponent<WebConnecter>();
}
}
return instance;
}
}
//引用jslib的方法
[DllImport("__Internal")]
private static extern void SendMsgToWeb(string str);
//接收数据
public Action<string> dataHandle;
void Awake()
{
if(instance == null)
{
instance = this;
}else
{
Destroy(gameObject);
}
}
/// <summary>
/// 接收web端发送数据
/// </summary>
/// <param name="jsonStr"></param>
public void RecData(string jsonStr)
{
dataHandle?.Invoke(jsonStr);
}
/// <summary>
/// 发送数据到web端
/// </summary>
/// <param name="data"></param>
public void SendDataToWeb(string data)
{
Debug.LogFormat(">>>>>> unity send web data{0}",data);
if (Application.platform == RuntimePlatform.WebGLPlayer)
{
SendMsgToWeb(data);
}
}
public void SendResultToWeb(bool success)
{
Dictionary<string, string> data = new Dictionary<string, string>();
data.Add("GameState", success ? "Success" : "Fail");
data.Add("Data", "");
string json = JsonConvert.SerializeObject(data);
SendDataToWeb(json);
}
public void SendResultToWeb(bool success, double score)
{
Dictionary<string, object> data = new Dictionary<string, object>();
data.Add("GameState", success ? "Success" : "Fail");
data.Add("Data", score);
string json = JsonConvert.SerializeObject(data);
SendDataToWeb(json);
}
}
}

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 10074c141627f60429a6f308121944bc
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d5250627ad4bc0341967c303f560a8d4
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a4e331a819854c54b8526eb6203c170c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 577d9725f58264943855b8ac185531fe
folderAsset: yes
timeCreated: 1466788344
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 14f21d7a1e53a8c4e87b25526a7eb63c
folderAsset: yes
timeCreated: 1466788345
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: aadad8ac54f29e44583510294ac5c312
timeCreated: 1466788355
licenseType: Store
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,76 @@
fileFormatVersion: 2
guid: 6a3c684705042f345975d924f6983e36
timeCreated: 1466788352
licenseType: Store
PluginImporter:
serializedVersion: 1
iconMap: {}
executionOrder: {}
isPreloaded: 0
platformData:
Android:
enabled: 1
settings:
CPU: AnyCPU
Any:
enabled: 0
settings: {}
Editor:
enabled: 0
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
Linux:
enabled: 0
settings:
CPU: x86
Linux64:
enabled: 0
settings:
CPU: x86_64
OSXIntel:
enabled: 0
settings:
CPU: AnyCPU
OSXIntel64:
enabled: 0
settings:
CPU: AnyCPU
SamsungTV:
enabled: 1
settings:
STV_MODEL: STANDARD_13
Tizen:
enabled: 1
settings: {}
WebGL:
enabled: 1
settings: {}
Win:
enabled: 0
settings:
CPU: AnyCPU
Win64:
enabled: 0
settings:
CPU: AnyCPU
WindowsStoreApps:
enabled: 1
settings:
CPU: AnyCPU
DontProcess: False
PlaceholderPath: Assets/JsonDotNet/Assemblies/Standalone/Newtonsoft.Json.dll
SDK: AnySDK
ScriptingBackend: Il2Cpp
iOS:
enabled: 1
settings:
CompileFlags:
FrameworkDependencies:
tvOS:
enabled: 1
settings: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 01ef782d02bb1994dbe418b69432552b
folderAsset: yes
timeCreated: 1466788344
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d6807fedb8dcaf04682d2c84f0ab753f
timeCreated: 1466788355
licenseType: Store
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,75 @@
fileFormatVersion: 2
guid: 17aef65a15b471f468b5fbeb4ff0c6a1
timeCreated: 1466788349
licenseType: Store
PluginImporter:
serializedVersion: 1
iconMap: {}
executionOrder: {}
isPreloaded: 0
platformData:
Android:
enabled: 0
settings:
CPU: AnyCPU
Any:
enabled: 0
settings: {}
Editor:
enabled: 1
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
Linux:
enabled: 1
settings:
CPU: x86
Linux64:
enabled: 1
settings:
CPU: x86_64
LinuxUniversal:
enabled: 1
settings:
CPU: AnyCPU
OSXIntel:
enabled: 1
settings:
CPU: AnyCPU
OSXIntel64:
enabled: 1
settings:
CPU: AnyCPU
OSXUniversal:
enabled: 1
settings:
CPU: AnyCPU
SamsungTV:
enabled: 0
settings:
STV_MODEL: STANDARD_13
Win:
enabled: 1
settings:
CPU: AnyCPU
Win64:
enabled: 1
settings:
CPU: AnyCPU
WindowsStoreApps:
enabled: 0
settings:
CPU: AnyCPU
DontProcess: False
PlaceholderPath:
SDK: AnySDK
ScriptingBackend: Il2Cpp
iOS:
enabled: 0
settings:
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 1418141139a6ac443b18cb05c0643a29
folderAsset: yes
timeCreated: 1466788345
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 36f7323c55864364d8bb88c736e4bca6
timeCreated: 1466788355
licenseType: Store
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,67 @@
fileFormatVersion: 2
guid: 9b6ba260dada0ea4a871a42011f8b87d
timeCreated: 1466788355
licenseType: Store
PluginImporter:
serializedVersion: 1
iconMap: {}
executionOrder: {}
isPreloaded: 0
platformData:
Android:
enabled: 0
settings:
CPU: AnyCPU
Any:
enabled: 0
settings: {}
Editor:
enabled: 0
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
Linux:
enabled: 0
settings:
CPU: x86
Linux64:
enabled: 0
settings:
CPU: x86_64
OSXIntel:
enabled: 0
settings:
CPU: AnyCPU
OSXIntel64:
enabled: 0
settings:
CPU: AnyCPU
SamsungTV:
enabled: 0
settings:
STV_MODEL: STANDARD_13
Win:
enabled: 0
settings:
CPU: AnyCPU
Win64:
enabled: 0
settings:
CPU: AnyCPU
WindowsStoreApps:
enabled: 1
settings:
CPU: AnyCPU
DontProcess: False
PlaceholderPath: Assets/JsonDotNet/Assemblies/Standalone/Newtonsoft.Json.dll
SDK: AnySDK
ScriptingBackend: DotNet
iOS:
enabled: 0
settings:
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 76f828f47ce26cc43991113c6a39dbbf
folderAsset: yes
timeCreated: 1466010535
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 4e7d9a07cc3f02a41a575406e7230846
timeCreated: 1466788421
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 9a6f8c7c1ea72ce46831c5e1b6150d0c
timeCreated: 1466790933
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<linker>
<assembly fullname="System">
<type fullname="System.ComponentModel.TypeConverter" preserve="all" />
<!-- <namespace fullname="System.ComponentModel" preserve="all" /> -->
</assembly>
</linker>

@ -0,0 +1,6 @@
fileFormatVersion: 2
guid: 06314f49bdda26043963578d60a0a7ee
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 367b6b3470280694e8a9c02b6a1ddb5d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,174 @@
using System;
using UnityEngine;
using UnityEngine.UI;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
public class JsonNetSample : MonoBehaviour
{
public Text Output;
void Start()
{
Output.text = "Start!\n\n";
TestJson();
SerailizeJson();
DeserializeJson();
LinqToJson();
JsonPath();
WriteLine("\nDone!");
}
void WriteLine(string msg)
{
Output.text = Output.text + msg + "\n";
}
public class Product
{
public string Name;
public DateTime ExpiryDate = new DateTime(2000, 1, 1, 0, 0, 0, DateTimeKind.Utc);
public decimal Price;
public string[] Sizes;
public override bool Equals(object obj)
{
if (obj is Product)
{
Product p = (Product)obj;
return (p.Name == Name && p.ExpiryDate == ExpiryDate && p.Price == Price);
}
return base.Equals(obj);
}
public override int GetHashCode()
{
return (Name ?? string.Empty).GetHashCode();
}
}
[System.Serializable]
public class CharacterListItem
{
public int Id { get; set; }
public string Name { get; set; }
public int Level { get; set; }
public string Class { get; set; }
public string Sex { get; set; }
}
void TestJson()
{
WriteLine("* TestJson");
var json = "{\"Id\":51, \"Name\":\"padre\", \"Level\":0, \"Class\":\"Vampire\", \"Sex\":\"F\"}";
var c = JsonConvert.DeserializeObject<CharacterListItem>(json);
WriteLine(c.Id + " " + c.Name);
}
void SerailizeJson()
{
WriteLine("* SerailizeJson");
Product product = new Product();
product.Name = "Apple";
product.ExpiryDate = new DateTime(2008, 12, 28);
product.Sizes = new string[] { "Small" };
string json = JsonConvert.SerializeObject(product);
WriteLine(json);
}
public class Movie
{
public string Name { get; set; }
public string Description { get; set; }
public string Classification { get; set; }
public string Studio { get; set; }
public DateTime? ReleaseDate { get; set; }
public List<string> ReleaseCountries { get; set; }
}
void DeserializeJson()
{
WriteLine("* DeserializeJson");
string json = @"{
'Name': 'Bad Boys',
'ReleaseDate': '1995-4-7T00:00:00',
'Genres': [
'Action',
'Comedy'
]
}";
Movie m = JsonConvert.DeserializeObject<Movie>(json);
string name = m.Name;
WriteLine(name);
}
void LinqToJson()
{
WriteLine("* LinqToJson");
JArray array = new JArray();
array.Add("Manual text");
array.Add(new DateTime(2000, 5, 23));
JObject o = new JObject();
o["MyArray"] = array;
string json = o.ToString();
WriteLine(json);
}
private void JsonPath()
{
WriteLine("* JsonPath");
var o = JObject.Parse(@"{
'Stores': [
'Lambton Quay',
'Willis Street'
],
'Manufacturers': [
{
'Name': 'Acme Co',
'Products': [
{
'Name': 'Anvil',
'Price': 50
}
]
},
{
'Name': 'Contoso',
'Products': [
{
'Name': 'Elbow Grease',
'Price': 99.95
},
{
'Name': 'Headlight Fluid',
'Price': 4
}
]
}
]
}");
JToken acme = o.SelectToken("$.Manufacturers[?(@.Name == 'Acme Co')]");
WriteLine(acme.ToString());
IEnumerable<JToken> pricyProducts = o.SelectTokens("$..Products[?(@.Price >= 50)].Name");
foreach (var item in pricyProducts)
{
WriteLine(item.ToString());
}
}
}

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: be6c91d61e2ba1e488c4a44c69ffeeb2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,469 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
SceneSettings:
m_ObjectHideFlags: 0
m_PVSData:
m_PVSObjectsArray: []
m_PVSPortalsArray: []
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: 0.25
backfaceThreshold: 100
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 6
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
m_FogDensity: 0.01
m_LinearFogStart: 0
m_LinearFogEnd: 300
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 3
m_SkyboxMaterial: {fileID: 0}
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3
m_HaloTexture: {fileID: 0}
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
m_DefaultReflectionMode: 0
m_DefaultReflectionResolution: 128
m_ReflectionBounces: 1
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 6
m_GIWorkflowMode: 1
m_LightmapsMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
m_IndirectOutputScale: 1
m_AlbedoBoost: 1
m_TemporalCoherenceThreshold: 1
m_EnvironmentLightingMode: 0
m_EnableBakedLightmaps: 0
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
serializedVersion: 3
m_Resolution: 2
m_BakeResolution: 40
m_TextureWidth: 1024
m_TextureHeight: 1024
m_AOMaxDistance: 1
m_Padding: 2
m_CompAOExponent: 0
m_LightmapParameters: {fileID: 0}
m_TextureCompression: 1
m_FinalGather: 0
m_FinalGatherRayCount: 1024
m_ReflectionCompression: 2
m_LightingDataAsset: {fileID: 0}
m_RuntimeCPUUsage: 25
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 2
agentRadius: 0.5
agentHeight: 2
agentSlope: 45
agentClimb: 0.4
ledgeDropHeight: 0
maxJumpAcrossDistance: 0
accuratePlacement: 0
minRegionArea: 2
cellSize: 0.16666667
manualCellSize: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &17972762
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 4: {fileID: 17972763}
- 114: {fileID: 17972764}
m_Layer: 0
m_Name: _SceneObject
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &17972763
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 17972762}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
--- !u!114 &17972764
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 17972762}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f30dac2bcee81e4c8d946311b78cad6, type: 3}
m_Name:
m_EditorClassIdentifier:
Output: {fileID: 383421098}
--- !u!1 &383421096
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 224: {fileID: 383421097}
- 222: {fileID: 383421099}
- 114: {fileID: 383421098}
- 114: {fileID: 383421100}
m_Layer: 5
m_Name: Output
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &383421097
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 383421096}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 2126236432}
m_RootOrder: 0
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &383421098
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 383421096}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 12
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 0
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: Output
--- !u!222 &383421099
CanvasRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 383421096}
--- !u!114 &383421100
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 383421096}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dcb53c957d1aa0e4e90719924cc27bdc, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &613318430
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 4: {fileID: 613318435}
- 20: {fileID: 613318434}
- 92: {fileID: 613318433}
- 124: {fileID: 613318432}
- 81: {fileID: 613318431}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!81 &613318431
AudioListener:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 613318430}
m_Enabled: 1
--- !u!124 &613318432
Behaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 613318430}
m_Enabled: 1
--- !u!92 &613318433
Behaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 613318430}
m_Enabled: 1
--- !u!20 &613318434
Camera:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 613318430}
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 1
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844}
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: 0.3
far clip plane: 1000
field of view: 60
orthographic: 1
orthographic size: 5
m_Depth: -1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
m_StereoMirrorMode: 0
--- !u!4 &613318435
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 613318430}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 1
--- !u!1 &1098611478
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 4: {fileID: 1098611482}
- 114: {fileID: 1098611481}
- 114: {fileID: 1098611480}
- 114: {fileID: 1098611479}
m_Layer: 0
m_Name: EventSystem
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1098611479
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1098611478}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1997211142, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_ForceModuleActive: 0
--- !u!114 &1098611480
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1098611478}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1077351063, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_HorizontalAxis: Horizontal
m_VerticalAxis: Vertical
m_SubmitButton: Submit
m_CancelButton: Cancel
m_InputActionsPerSecond: 10
m_RepeatDelay: 0.5
m_ForceModuleActive: 0
--- !u!114 &1098611481
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1098611478}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -619905303, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_FirstSelected: {fileID: 0}
m_sendNavigationEvents: 1
m_DragThreshold: 5
--- !u!4 &1098611482
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1098611478}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
--- !u!1 &2126236428
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 224: {fileID: 2126236432}
- 223: {fileID: 2126236431}
- 114: {fileID: 2126236430}
- 114: {fileID: 2126236429}
m_Layer: 5
m_Name: Canvas
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &2126236429
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2126236428}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!114 &2126236430
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2126236428}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 0
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 800, y: 600}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
--- !u!223 &2126236431
Canvas:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2126236428}
m_Enabled: 1
serializedVersion: 2
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
--- !u!224 &2126236432
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2126236428}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 383421097}
m_Father: {fileID: 0}
m_RootOrder: 3
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0}

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 39f1fdde21c84984b9e5f7e004a9b2ef
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 879f15c3e633d2842ab33f18b6117599
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: c72f41c163e2c914db2b89ee387cda74
TrueTypeFontImporter:
externalObjects: {}
serializedVersion: 4
fontSize: 16
forceTextureCase: -2
characterSpacing: 0
characterPadding: 1
includeFontData: 1
fontName: Droid Sans Fallback
fontNames:
- Droid Sans Fallback
fallbackFontReferences: []
customCharacters:
fontRenderingMode: 0
ascentCalculationMode: 1
useLegacyBoundsCalculation: 0
shouldRoundAdvanceValue: 1
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,6 @@
mergeInto(LibraryManager.library, {
SendMsgToWeb: function (str) {
SendToWeb(Pointer_stringify(str));
},
});

@ -0,0 +1,37 @@
fileFormatVersion: 2
guid: 96b7c6f2b1092904b80242a703b102ca
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
Facebook: WebGL
second:
enabled: 1
settings: {}
- first:
WebGL: WebGL
second:
enabled: 1
settings: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,839 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
OcclusionCullingSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: 0.25
backfaceThreshold: 100
m_SceneGUID: 00000000000000000000000000000000
m_OcclusionCullingData: {fileID: 0}
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 9
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
m_FogDensity: 0.01
m_LinearFogStart: 0
m_LinearFogEnd: 300
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 0
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3
m_HaloTexture: {fileID: 0}
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
m_DefaultReflectionMode: 0
m_DefaultReflectionResolution: 128
m_ReflectionBounces: 1
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 705507994}
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 11
m_GIWorkflowMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
m_IndirectOutputScale: 1
m_AlbedoBoost: 1
m_EnvironmentLightingMode: 0
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
serializedVersion: 12
m_Resolution: 2
m_BakeResolution: 40
m_AtlasSize: 1024
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 1
m_CompAOExponentDirect: 0
m_ExtractAmbientOcclusion: 0
m_Padding: 2
m_LightmapParameters: {fileID: 0}
m_LightmapsBakeMode: 1
m_TextureCompression: 1
m_FinalGather: 0
m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 256
m_ReflectionCompression: 2
m_MixedBakeMode: 2
m_BakeBackend: 1
m_PVRSampling: 1
m_PVRDirectSampleCount: 32
m_PVRSampleCount: 500
m_PVRBounces: 2
m_PVREnvironmentSampleCount: 500
m_PVREnvironmentReferencePointCount: 2048
m_PVRFilteringMode: 2
m_PVRDenoiserTypeDirect: 0
m_PVRDenoiserTypeIndirect: 0
m_PVRDenoiserTypeAO: 0
m_PVRFilterTypeDirect: 0
m_PVRFilterTypeIndirect: 0
m_PVRFilterTypeAO: 0
m_PVREnvironmentMIS: 0
m_PVRCulling: 1
m_PVRFilteringGaussRadiusDirect: 1
m_PVRFilteringGaussRadiusIndirect: 5
m_PVRFilteringGaussRadiusAO: 2
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_UseShadowmask: 1
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 2
agentTypeID: 0
agentRadius: 0.5
agentHeight: 2
agentSlope: 45
agentClimb: 0.4
ledgeDropHeight: 0
maxJumpAcrossDistance: 0
minRegionArea: 2
manualCellSize: 0
cellSize: 0.16666667
manualTileSize: 0
tileSize: 256
accuratePlacement: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &678720718
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 678720719}
- component: {fileID: 678720721}
- component: {fileID: 678720720}
m_Layer: 5
m_Name: Panel
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &678720719
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 678720718}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 948216548}
m_Father: {fileID: 907072698}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 500, y: 300}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &678720720
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 678720718}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 0.392}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &678720721
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 678720718}
m_CullTransparentMesh: 0
--- !u!1 &705507993
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 705507995}
- component: {fileID: 705507994}
m_Layer: 0
m_Name: Directional Light
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!108 &705507994
Light:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 705507993}
m_Enabled: 1
serializedVersion: 10
m_Type: 1
m_Shape: 0
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
m_Intensity: 1
m_Range: 10
m_SpotAngle: 30
m_InnerSpotAngle: 21.80208
m_CookieSize: 10
m_Shadows:
m_Type: 2
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_CullingMatrixOverride:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_UseCullingMatrixOverride: 0
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 0
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingLayerMask: 1
m_Lightmapping: 1
m_LightShadowCasterMode: 0
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
m_UseBoundingSphereOverride: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
--- !u!4 &705507995
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 705507993}
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
m_LocalPosition: {x: 0, y: 3, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
--- !u!1 &764254899
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 764254902}
- component: {fileID: 764254901}
- component: {fileID: 764254900}
m_Layer: 0
m_Name: EventSystem
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &764254900
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 764254899}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}
m_Name:
m_EditorClassIdentifier:
m_HorizontalAxis: Horizontal
m_VerticalAxis: Vertical
m_SubmitButton: Submit
m_CancelButton: Cancel
m_InputActionsPerSecond: 10
m_RepeatDelay: 0.5
m_ForceModuleActive: 0
--- !u!114 &764254901
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 764254899}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_FirstSelected: {fileID: 0}
m_sendNavigationEvents: 1
m_DragThreshold: 10
--- !u!4 &764254902
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 764254899}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &907072694
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 907072698}
- component: {fileID: 907072697}
- component: {fileID: 907072696}
- component: {fileID: 907072695}
m_Layer: 5
m_Name: Canvas
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &907072695
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 907072694}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!114 &907072696
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 907072694}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 0
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 800, y: 600}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
--- !u!223 &907072697
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 907072694}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_AdditionalShaderChannelsFlag: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
--- !u!224 &907072698
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 907072694}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1186954070}
- {fileID: 678720719}
m_Father: {fileID: 0}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!1 &948216547
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 948216548}
- component: {fileID: 948216550}
- component: {fileID: 948216549}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &948216548
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 948216547}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 678720719}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: -20, y: -20}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &948216549
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 948216547}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 14
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 0
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text:
--- !u!222 &948216550
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 948216547}
m_CullTransparentMesh: 0
--- !u!1 &963194225
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 963194228}
- component: {fileID: 963194227}
- component: {fileID: 963194226}
- component: {fileID: 963194229}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!81 &963194226
AudioListener:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 963194225}
m_Enabled: 1
--- !u!20 &963194227
Camera:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 963194225}
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 1
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: 0.3
far clip plane: 1000
field of view: 60
orthographic: 0
orthographic size: 5
m_Depth: -1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 1
m_AllowMSAA: 1
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
--- !u!4 &963194228
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 963194225}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &963194229
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 963194225}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0550a7372904fc74ea3f3607c91bac07, type: 3}
m_Name:
m_EditorClassIdentifier:
recTxt: {fileID: 948216549}
--- !u!1 &1058091525
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1058091526}
- component: {fileID: 1058091528}
- component: {fileID: 1058091527}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1058091526
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1058091525}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1186954070}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1058091527
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1058091525}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_FontData:
m_Font: {fileID: 12800000, guid: c72f41c163e2c914db2b89ee387cda74, type: 3}
m_FontSize: 14
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 4
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: "\u63D0\u4EA4\u6210\u7EE9"
--- !u!222 &1058091528
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1058091525}
m_CullTransparentMesh: 0
--- !u!1 &1186954069
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1186954070}
- component: {fileID: 1186954073}
- component: {fileID: 1186954072}
- component: {fileID: 1186954071}
m_Layer: 5
m_Name: ButtonResult
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1186954070
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1186954069}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1058091526}
m_Father: {fileID: 907072698}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: 76.1}
m_SizeDelta: {x: 120, y: 30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1186954071
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1186954069}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 1186954072}
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 963194229}
m_MethodName: ButtonClick
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &1186954072
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1186954069}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &1186954073
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1186954069}
m_CullTransparentMesh: 0

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 9fc0d4010bbf28b4594072e72b8655ab
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0f69ad123962dc84daf810a0a20dcecc
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1 @@
Build from CQ at 2021/12/22 17:08:15

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 43523919180a29d47b7e15d8717baa62
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a4f417a61698a5042b80e6711b054ee1
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1dc4f6f7b97e81445805623e74625c17
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: fc2bc4e730af46c4d9a2e414b444bd9f
folderAsset: yes
timeCreated: 1503663089
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 2d5aea13877c4e848b54104a98dcfed8
folderAsset: yes
timeCreated: 1506612497
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,239 @@
body{
margin:0px;
padding:0px;
position: absolute;
height:100%;
width:100%;
background-size:cover;
font-style: regular;
font-family:"Myriad Pro", Myriad,"Helvetica Neue", Helvetica, Arial, sans-serif;
background-color:#f0f0f1;
overflow-x: hidden;
overflow-y: hidden;
}
.webgl-content,#loadingBlock,#errorBrowserBlock{
padding:0px;
position:absolute;
height:100vh;
width:100vw;
background-color:#ffffff;
}
#gameContainer, canvas {
position: absolute;
height: 100%;
width: 100%;
background-color: #f0f0f1;
}
#fullScreenButton{
height:30px;
width:30px;
position:absolute;
z-index:1;
bottom:5px;
right:5px;
background-color:transparent;
background-image:url("../img/fullScreen_on.png");
background-size:30px 30px;
border:none;
cursor: pointer;
}
.subtitle{
color:#333333;
font-size:16px;
padding-bottom:3vh;
padding-top: 3vh;
display: block;
height:15vh;
width:40vw;
margin:auto;
text-align: center;
}
.logo{
height:8vh;
width:auto;
display: block;
margin:auto;
margin-top:10%;
}
#loadingBlock,#errorBrowserBlock{
background-image:url("../img/background.png");
background-size:cover;
}
#emptyBar{
background: url("../img/progressEmpty.png") no-repeat right;
float: right;
width: 60%;
height: 100%;
display: inline-block;
}
#fullBar{
background: url("../img/progressFull.png") no-repeat right;
float: left;
width: 40%;
height: 100%;
display: inline-block;
}
#progressBar,#warningBrowserBlock,#warningMobileBlock,#errorContent{
height:25vh;
width:40vw;
margin:auto;
text-align: center;
}
#progressBar{
height:8vh;
color:#999999;
font-size:18px;
}
#warningBrowserBlock,#warningMobileBlock,#errorContent{
margin-top:15vh;
color:#666666;
font-size:2.3vh;
}
.browserIcons{
display: inline-flex;
margin-top:2vh;
}
.browserIcons a{
width:150px;
}
#errorContent{
font-size:3vh;
margin-top:5vh;
}
.centered{
height: 100%;
max-width:770px;
margin-left:auto;
margin-right:auto;
}
/* When aspect-ratio is smaller than 4/3*/
/*@media (max-aspect-ratio: 4/3){
.webgl-content{
-webkit-transform: translate(0%, 0%); transform: translate(0%, 0%);
-webkit-box-shadow: 0px 0px 29px 0px rgba(0,0,0,0.15);
-moz-box-shadow: 0px 0px 29px 0px rgba(0,0,0,0.15);
box-shadow: 0px 0px 29px 0px rgba(0,0,0,0.15);
}
.keepRatio{
width:100%;
padding-top: 75%;
position: relative;
top: 50%;
transform: translateY(-50%);
}
.webgl-content,#loadingBlock,#errorBrowserBlock{
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
.logo{
width:25vw;
height:auto;
margin-top:1vh;
}
.subtitle{
font-size:2vw;
height:10vw;
padding-bottom:1vw;
padding-top: 1vw;
}
.subtitle,#progressBar,#warningBrowserBlock,#warningMobileBlock,#errorContent{
width:80vw;
}
#progressBar{
height:6vw;
margin-top: 2vw;
font-size:3vw;
}
#emptyBar,#fullBar{
height: 2vw;
}
#warningBrowserBlock,#warningMobileBlock,#errorContent{
margin-top:3vw;
font-size:2vw;
}
.browserIcons{
margin-top:1vw;
}
.browserIcons a{
width:15vw;
}
.browserIcons a img{
width:8vw;
}
.webgl-content,#loadingBlock,#errorBrowserBlock{
border:1px solid #c6c9ca;
width:calc(100% - 2px);
height:auto;
}
}*/
/* When aspect-ratio is bigger than 16/9*/
@media (min-aspect-ratio: 16/9){
body{
display:flex;
flex-wrap:wrap;
justify-content:space-between;
min-height:300px;
}
.keepRatio{
width:100%;
height:100%;
margin:0 auto;
}
.webgl-content,#gameContainer,canvas,#loadingBlock,#errorBrowserBlock{
width: inherit;
}
.webgl-content{
-webkit-box-shadow: 0px 0px 29px 0px rgba(0,0,0,0.15);
-moz-box-shadow: 0px 0px 29px 0px rgba(0,0,0,0.15);
box-shadow: 0px 0px 29px 0px rgba(0,0,0,0.15);
}
.subtitle,#progressBar,#warningBrowserBlock,#warningMobileBlock,#errorContent{
width:100vh;
}
.webgl-content,#loadingBlock,#errorBrowserBlock{
border:1px solid #c6c9ca;
height:calc(100% - 2px);
}
}

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6c876aba26b9fa940a800f48e2b58470
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 378011107a00a9c4692116172daa4962
folderAsset: yes
timeCreated: 1506612497
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b2289369ea004574794a5a9383aac0ba
timeCreated: 1503935101
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 9a40c4694a7f8e2458dbf6e166153458
timeCreated: 1512654567
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a78c7de75384d324f82b32a36e67b3f3
timeCreated: 1503672066
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7fa3138f84f5900418d83a0d4eaf044a
timeCreated: 1503672066
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6298057a32e9ab94782c68b96de11660
timeCreated: 1503672066
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 94eb4f35613dba94f8e8bf5c24e55210
timeCreated: 1503663089
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d617929f04d1a9941b7ff6e5106af342
timeCreated: 1535705247
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 2140d7bccb62032488a23d291f39a77c
timeCreated: 1535705247
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 28b33442b3f877d44b449f74c8c08b11
timeCreated: 1535705247
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 885fa2edfca5c7e42b8a48c214d717e3
timeCreated: 1535705247
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save