master
2021744738 1 year ago
parent 0551b5c8fa
commit 46ce86bce7

Binary file not shown.

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

File diff suppressed because it is too large Load Diff

@ -96,13 +96,13 @@ namespace BuildSystem
gridMap[1][3].isPlace = true; gridMap[1][3].isPlace = true;
gridMap[7][5].isPlace = true; gridMap[7][5].isPlace = true;
gridMap[7][2].isPlace = true; gridMap[5][2].isPlace = true;
gridMap[8][2].isPlace = true; gridMap[8][2].isPlace = true;
gridMap[11][4].isPlace = true; gridMap[11][4].isPlace = true;
gridMap[1][3].isTS = true; gridMap[1][3].isTS = true;
gridMap[7][5].isTS = true; gridMap[7][5].isTS = true;
gridMap[7][2].isTS = true; gridMap[5][2].isTS = true;
gridMap[8][2].isTS = true; gridMap[8][2].isTS = true;
gridMap[11][4].isTS = true; gridMap[11][4].isTS = true;
} }
@ -220,7 +220,7 @@ namespace BuildSystem
} }
if (!isCreateSuccess) if (!isCreateSuccess)
{ {
buildTip.ShowTip("当前位置存在建筑"); buildTip.ShowTip("当前位置不可创建");
return false; return false;
} }
@ -335,19 +335,17 @@ namespace BuildSystem
} }
//变色提示 //变色提示
if (placeObj) //if (placeObj)
{ //{
if (isCanCreateToTip()) // if (isCanCreateToTip())
{ // {
Debug.Log("可以"); // placeObj.GetComponent<MeshRenderer>().materials[1] = green;
placeObj.GetComponent<MeshRenderer>().materials[1] = green; // }
} // else
else // {
{ // placeObj.GetComponent<MeshRenderer>().materials[1] = red;
Debug.Log("不可以"); // }
placeObj.GetComponent<MeshRenderer>().materials[1] = red; //}
}
}
//判断通关 //判断通关
if (IsGameEnd() && !isGameEnd) if (IsGameEnd() && !isGameEnd)

File diff suppressed because it is too large Load Diff

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 1a748e6e30e5f314db54708b84b6e203
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Loading…
Cancel
Save