Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
guo450212436
et
提交
52317043
E
et
项目概览
guo450212436
/
et
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
et
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
52317043
编写于
5月 27, 2018
作者:
T
tanghai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
由于unity2017发布了稳定版本,ET升级默认使用Unity2017.4.3稳定版
上级
9f66a9f0
变更
10
展开全部
隐藏空白更改
内联
并排
Showing
10 changed file
with
772 addition
and
103 deletion
+772
-103
Client-Server.sln.DotSettings.user
Client-Server.sln.DotSettings.user
+2
-0
Doc/运行指南.md
Doc/运行指南.md
+13
-10
Unity/Hotfix/Unity.Hotfix.csproj
Unity/Hotfix/Unity.Hotfix.csproj
+7
-1
Unity/ProjectSettings/ProjectSettings.asset
Unity/ProjectSettings/ProjectSettings.asset
+43
-16
Unity/ProjectSettings/ProjectVersion.txt
Unity/ProjectSettings/ProjectVersion.txt
+1
-1
Unity/Unity.Editor.Plugins.csproj
Unity/Unity.Editor.Plugins.csproj
+182
-20
Unity/Unity.Editor.csproj
Unity/Unity.Editor.csproj
+186
-27
Unity/Unity.Plugins.csproj
Unity/Unity.Plugins.csproj
+167
-14
Unity/Unity.csproj
Unity/Unity.csproj
+167
-14
Unity/UnityPackageManager/manifest.json
Unity/UnityPackageManager/manifest.json
+4
-0
未找到文件。
Client-Server.sln.DotSettings.user
浏览文件 @
52317043
...
...
@@ -15,7 +15,9 @@
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003APlayerComponent_002Ecs_002Fl_003AUnity_003FAssets_003FScripts_003FComponent_003FPlayerComponent_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003APlayerFactory_002Ecs_002Fl_003AUnity_003FAssets_003FScripts_003FFactory_003FPlayerFactory_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AUnitComponent_002Ecs_002Fl_003AUnity_003FAssets_003FScripts_003FComponent_003FUnitComponent_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=C305ED5B_002D8425_002D47A1_002DBEE1_002D85830CADC27A_002Fd_003AModule_002Fd_003AActor_002Ff_003AActorMessageSenderSystem_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=C305ED5B_002D8425_002D47A1_002DBEE1_002D85830CADC27A_002Fd_003AModule_002Fd_003ABenchmark_002Ff_003ABenchmarkComponentSystem_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=C305ED5B_002D8425_002D47A1_002DBEE1_002D85830CADC27A_002Fd_003AModule_002Fd_003AMessage_002Ff_003AInnerMessageDispatcher_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=CF118143_002D7E37_002D744F_002DBE45_002D3F55345FEC40_002Fd_003AAssets_002Fd_003AScripts_002Fd_003ABase_002Fd_003AObject_002Ff_003AComponent_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=CF118143_002D7E37_002D744F_002DBE45_002D3F55345FEC40_002Fd_003AAssets_002Fd_003AScripts_002Fd_003ABase_002Fd_003AObject_002Ff_003AComponentWithId_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=CF118143_002D7E37_002D744F_002DBE45_002D3F55345FEC40_002Fd_003AAssets_002Fd_003AScripts_002Fd_003ABase_002Fd_003AObject_002Ff_003AEntity_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
...
...
Doc/运行指南.md
浏览文件 @
52317043
##### 1.visual studio必须使用vs2017(更新到最新版), Unity必须2017以上, VS2017需要勾选安装以下内容:
# 运行步骤
##### 1.visual studio必须使用vs2017(更新到最新版), VS2017需要勾选安装以下内容:
a. .net 桌面开发
b. visual studio tools for unity
c. .net
core
2.0
##### 2. unity
一定要安装 unity 2017.1.0p5到2017.1.2,其它版本参考初见的爬坑教程(readme中有链接)
,unity2018请自己摸索
c. .net
core
2.0
##### 2. unity
2017.4.3版
,unity2018请自己摸索
##### 3. 启动unity2017, 菜单 File->open project->open 选中E
gametang
/Unity文件夹,点击选择文件夹按钮。
##### 3. 启动unity2017, 菜单 File->open project->open 选中E
T
/Unity文件夹,点击选择文件夹按钮。
##### 4.点击Unity菜单Assets->open C# project启动vs 编译(一定要编译,右键VS解决方案,全部编译)
##### 5.用vs2017打开E
gametang
/Server/Server.sln 编译(一定要编译,右键VS解决方案,全部编译)
##### 5.用vs2017打开E
T
/Server/Server.sln 编译(一定要编译,右键VS解决方案,全部编译)
##### 6.打开Unity->tools菜单->命令行配置,选择LocalAllServer.txt 这是启动单一App的方式,如果要启动一组多App服务器,在命令行工具中选择127.0.0.1.txt,点击启动即可,具体配置都可以自己用这个命令行配置工具修改
##### 7.点击工具中的启动,这样就启动了服务端(也可以用VS启动,方便单步调试)
...
...
@@ -16,17 +17,16 @@ c. .netcore2.0
# 注意事项:
VS2017 15.4版本vstools有bug,Hotfix工程请重新引用UnityEngin跟UnityEngineUI两个dll,这两个dll在Unity安装目录/Editor/Data/Managed/下面
一般出错原因都是:
1.
出现LateUpate找不到表示没编译hotfix
。
1.
没编译客户端hotfix工程
。
2.
中文目录。
3.
vs没有安装vs tools或者不是最新的vs tools。
4.
没安装
.netcore2.0
5.
VS要更新到最新
的15.5.4版本以上
4.
没安装
.net core 2.0
5.
VS要更新到最新
版本
#
#
测试帧同步
# 测试帧同步
##### 1. 打开Unity->tools菜单->命令行配置,重启server
##### 2. Unity->tools菜单->打包工具,点击标记,选择PC,勾选是否打包exe,点击开始打包,打出一个PC包在Release目录下,
##### 3. 运行Unity 登录 进入大厅 进入场景
...
...
@@ -34,3 +34,6 @@ VS2017 15.4版本vstools有bug,Hotfix工程请重新引用UnityEngin跟UnityEn
##### 5. 运行PC包 登录 进入大厅 这时会出现两个小人(重叠在一起)
##### 6. 点击鼠标右键即可移动人物
# 客户端调试模式
目前ET模式使用ILRuntime模式无法单步调试,如果要切换到调试模式,删掉Unity的ILRuntime宏,删掉客户端Hotifx工程的ILRuntime宏,重新编译即可
Unity/Hotfix/Unity.Hotfix.csproj
浏览文件 @
52317043
...
...
@@ -39,7 +39,13 @@
<Reference
Include=
"System"
/>
<Reference
Include=
"System.Core"
/>
<Reference
Include=
"UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"
>
<HintPath>
C:\Apps\Unity\Editor\Data\Managed\UnityEngine.dll
</HintPath>
<HintPath>
C:\Apps\Unity\Editor\Data\Managed\UnityEngine\UnityEngine.dll
</HintPath>
</Reference>
<Reference
Include=
"UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"
>
<HintPath>
C:\Apps\Unity\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
</HintPath>
</Reference>
<Reference
Include=
"UnityEngine.PhysicsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"
>
<HintPath>
C:\Apps\Unity\Editor\Data\Managed\UnityEngine\UnityEngine.PhysicsModule.dll
</HintPath>
</Reference>
<Reference
Include=
"UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
>
<HintPath>
C:\Apps\Unity\Editor\Data\UnityExtensions\Unity\GUISystem\UnityEngine.UI.dll
</HintPath>
...
...
Unity/ProjectSettings/ProjectSettings.asset
浏览文件 @
52317043
...
...
@@ -3,9 +3,10 @@
---
!u!129
&1
PlayerSettings
:
m_ObjectHideFlags
:
0
serializedVersion
:
1
2
serializedVersion
:
1
4
productGUID
:
1eb5b450436966b49a962ffe89a9d776
AndroidProfiler
:
0
AndroidFilterTouchesWhenObscured
:
0
defaultScreenOrientation
:
4
targetDevice
:
2
useOnDemandResources
:
0
...
...
@@ -38,8 +39,6 @@ PlayerSettings:
width
:
1
height
:
1
m_SplashScreenLogos
:
[]
m_SplashScreenBackgroundLandscape
:
{
fileID
:
0
}
m_SplashScreenBackgroundPortrait
:
{
fileID
:
0
}
m_VirtualRealitySplashScreen
:
{
fileID
:
0
}
m_HolographicTrackingLossScreen
:
{
fileID
:
0
}
defaultScreenWidth
:
1024
...
...
@@ -49,7 +48,6 @@ PlayerSettings:
m_StereoRenderingPath
:
0
m_ActiveColorSpace
:
0
m_MTRendering
:
1
m_MobileMTRendering
:
0
m_StackTraceTypes
:
010000000100000001000000010000000100000001000000
iosShowActivityIndicatorOnLoading
:
-1
androidShowActivityIndicatorOnLoading
:
-1
...
...
@@ -63,9 +61,12 @@ PlayerSettings:
allowedAutorotateToLandscapeLeft
:
1
useOSAutorotation
:
1
use32BitDisplayBuffer
:
1
preserveFramebufferAlpha
:
0
disableDepthAndStencilBuffers
:
0
androidBlitType
:
0
defaultIsFullScreen
:
1
defaultIsNativeResolution
:
1
macRetinaSupport
:
1
runInBackground
:
1
captureSingleScreen
:
0
muteOtherAudioSources
:
0
...
...
@@ -91,22 +92,22 @@ PlayerSettings:
allowFullscreenSwitch
:
1
graphicsJobMode
:
0
macFullscreenMode
:
2
d3d9FullscreenMode
:
1
d3d11FullscreenMode
:
1
xboxSpeechDB
:
0
xboxEnableHeadOrientation
:
0
xboxEnableGuest
:
0
xboxEnablePIXSampling
:
0
metalFramebufferOnly
:
0
n3dsDisableStereoscopicView
:
0
n3dsEnableSharedListOpt
:
1
n3dsEnableVSync
:
0
ignoreAlphaClear
:
0
xboxOneResolution
:
0
xboxOneSResolution
:
0
xboxOneXResolution
:
3
xboxOneMonoLoggingLevel
:
0
xboxOneLoggingLevel
:
1
xboxOneDisableEsram
:
0
xboxOnePresentImmediateThreshold
:
0
videoMemoryForVertexBuffers
:
0
psp2PowerMode
:
0
psp2AcquireBGM
:
1
...
...
@@ -128,6 +129,7 @@ PlayerSettings:
bundleVersion
:
1.0
preloadedAssets
:
[]
metroInputSource
:
0
wsaTransparentSwapchain
:
0
m_HolographicPauseOnTrackingLoss
:
1
xboxOneDisableKinectGpuReservation
:
0
xboxOneEnable7thCore
:
0
...
...
@@ -138,12 +140,23 @@ PlayerSettings:
daydream
:
depthFormat
:
0
useSustainedPerformanceMode
:
0
enableVideoLayer
:
0
useProtectedVideoMemory
:
0
minimumSupportedHeadTracking
:
0
maximumSupportedHeadTracking
:
1
hololens
:
depthFormat
:
1
depthBufferSharingEnabled
:
0
oculus
:
sharedDepthBuffer
:
0
dashSupport
:
0
protectGraphicsMemory
:
0
useHDRDisplay
:
0
targetPixelDensity
:
0
m_ColorGamuts
:
00000000
targetPixelDensity
:
30
resolutionScalingMode
:
0
androidSupportedAspectRatio
:
1
androidMaxAspectRatio
:
2.1
applicationIdentifier
:
Android
:
com.test.Unity
Standalone
:
unity.DefaultCompany.Unity
...
...
@@ -170,7 +183,7 @@ PlayerSettings:
serializedVersion
:
2
m_Bits
:
238
iPhoneSdkVersion
:
988
iOSTargetOSVersionString
:
6
.0
iOSTargetOSVersionString
:
7
.0
tvOSSdkVersion
:
0
tvOSRequireExtendedGameController
:
0
tvOSTargetOSVersionString
:
9.0
...
...
@@ -218,6 +231,8 @@ PlayerSettings:
iOSLaunchScreeniPadFillPct
:
100
iOSLaunchScreeniPadSize
:
100
iOSLaunchScreeniPadCustomXibPath
:
iOSUseLaunchScreenStoryboard
:
0
iOSLaunchScreenCustomStoryboardPath
:
iOSDeviceRequirements
:
[]
iOSURLSchemes
:
[]
iOSBackgroundModes
:
0
...
...
@@ -229,6 +244,7 @@ PlayerSettings:
iOSManualSigningProvisioningProfileID
:
tvOSManualSigningProvisioningProfileID
:
appleEnableAutomaticSigning
:
0
clonedFromGUID
:
00000000000000000000000000000000
AndroidTargetDevice
:
0
AndroidSplashScreenScale
:
0
androidSplashScreen
:
{
fileID
:
0
}
...
...
@@ -236,7 +252,9 @@ PlayerSettings:
AndroidKeyaliasName
:
AndroidTVCompatibility
:
1
AndroidIsGame
:
1
AndroidEnableTango
:
0
androidEnableBanner
:
1
androidUseLowAccuracyLocation
:
0
m_AndroidBanners
:
-
width
:
320
height
:
180
...
...
@@ -311,10 +329,21 @@ PlayerSettings:
-
m_BuildTarget
:
tvOS
m_Enabled
:
0
m_Devices
:
[]
m_BuildTargetEnableVuforiaSettings
:
[]
openGLRequireES31
:
0
openGLRequireES31AEP
:
0
webPlayerTemplate
:
APPLICATION:Default
m_TemplateCustomTags
:
{}
mobileMTRendering
:
Android
:
1
iPhone
:
1
tvOS
:
1
m_BuildTargetGroupLightmapEncodingQuality
:
-
m_BuildTarget
:
Standalone
m_EncodingQuality
:
1
-
m_BuildTarget
:
XboxOne
m_EncodingQuality
:
1
-
m_BuildTarget
:
PS4
m_EncodingQuality
:
1
wiiUTitleID
:
0005000011000000
wiiUGroupID
:
00010000
wiiUCommonSaveSize
:
4096
...
...
@@ -451,6 +480,7 @@ PlayerSettings:
switchParentalControl
:
0
switchAllowsScreenshot
:
1
switchAllowsVideoCapturing
:
1
switchAllowsRuntimeAddOnContentInstall
:
0
switchDataLossConfirmation
:
0
switchSupportedNpadStyles
:
3
switchSocketConfigEnabled
:
0
...
...
@@ -482,6 +512,8 @@ PlayerSettings:
ps4PronunciationSIGPath
:
ps4BackgroundImagePath
:
ps4StartupImagePath
:
ps4StartupImagesFolder
:
ps4IconImagesFolder
:
ps4SaveDataImagePath
:
ps4SdkOverride
:
ps4BGMPath
:
...
...
@@ -593,7 +625,7 @@ PlayerSettings:
webGLUseWasm
:
0
webGLCompressionFormat
:
1
scriptingDefineSymbols
:
1
:
NET45;ILRuntime
1
:
NET45;ILRuntime
1
4
:
NET45
7
:
NET45;ILRuntime
13
:
NET45;ILRuntime
...
...
@@ -653,12 +685,6 @@ PlayerSettings:
n3dsTitle
:
GameName
n3dsProductCode
:
n3dsApplicationId
:
0xFF3FF
stvDeviceAddress
:
stvProductDescription
:
stvProductAuthor
:
stvProductAuthorEmail
:
stvProductLink
:
stvProductCategory
:
0
XboxOneProductId
:
XboxOneUpdateKey
:
XboxOneSandboxId
:
...
...
@@ -681,6 +707,7 @@ PlayerSettings:
XboxOneSplashScreen
:
{
fileID
:
0
}
XboxOneAllowedProductIds
:
[]
XboxOnePersistentLocalStorageSize
:
0
XboxOneXTitleMemory
:
8
xboxOneScriptCompiler
:
0
vrEditorSettings
:
daydream
:
...
...
Unity/ProjectSettings/ProjectVersion.txt
浏览文件 @
52317043
m_EditorVersion: 2017.
1.3p2
m_EditorVersion: 2017.
4.3f1
Unity/Unity.Editor.Plugins.csproj
浏览文件 @
52317043
此差异已折叠。
点击以展开。
Unity/Unity.Editor.csproj
浏览文件 @
52317043
此差异已折叠。
点击以展开。
Unity/Unity.Plugins.csproj
浏览文件 @
52317043
此差异已折叠。
点击以展开。
Unity/Unity.csproj
浏览文件 @
52317043
此差异已折叠。
点击以展开。
Unity/UnityPackageManager/manifest.json
0 → 100644
浏览文件 @
52317043
{
"dependencies"
:
{
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录