Skip to content

Commit

Permalink
【第三章】工欲善其事必先利其器
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiang Yin committed Dec 11, 2019
1 parent deb578b commit cadae0d
Show file tree
Hide file tree
Showing 8 changed files with 106 additions and 7 deletions.
8 changes: 8 additions & 0 deletions Assets/GameMain/Scripts/Base.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -8,7 +8,7 @@
using UnityEngine;
using UnityGameFramework.Runtime;

namespace StarForce
namespace Tutorial
{
/// <summary>
/// 游戏入口。
Expand Down
Expand Up @@ -7,7 +7,7 @@

using UnityEngine;

namespace StarForce
namespace Tutorial
{
/// <summary>
/// 游戏入口。
Expand All @@ -17,5 +17,9 @@ public partial class GameEntry : MonoBehaviour
private static void InitCustomComponents()
{
}

private static void InitCustomDebuggers()
{
}
}
}
Expand Up @@ -7,7 +7,7 @@

using UnityEngine;

namespace StarForce
namespace Tutorial
{
/// <summary>
/// 游戏入口。
Expand All @@ -16,8 +16,14 @@ public partial class GameEntry : MonoBehaviour
{
private void Start()
{
// 初始化内置组件
InitBuiltinComponents();

// 初始化自定义组件
InitCustomComponents();

// 初始化自定义调试器
InitCustomDebuggers();
}
}
}
File renamed without changes.
89 changes: 85 additions & 4 deletions Assets/Tutorial Launcher.unity
Expand Up @@ -112,6 +112,36 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &160320686
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 160320687}
m_Layer: 0
m_Name: CustomComponents
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &160320687
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 160320686}
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: 2034849622}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1106209601
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -190,7 +220,7 @@ PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_TransformParent: {fileID: 2034849622}
m_Modifications:
- target: {fileID: 11405216, guid: adb3eb1c35fcff14f89fba7b05c9d71c, type: 3}
propertyPath: m_AvailableProcedureTypeNames.Array.size
Expand Down Expand Up @@ -218,15 +248,15 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 433714, guid: adb3eb1c35fcff14f89fba7b05c9d71c, type: 3}
propertyPath: m_LocalRotation.x
value: 0
value: -0
objectReference: {fileID: 0}
- target: {fileID: 433714, guid: adb3eb1c35fcff14f89fba7b05c9d71c, type: 3}
propertyPath: m_LocalRotation.y
value: 0
value: -0
objectReference: {fileID: 0}
- target: {fileID: 433714, guid: adb3eb1c35fcff14f89fba7b05c9d71c, type: 3}
propertyPath: m_LocalRotation.z
value: 0
value: -0
objectReference: {fileID: 0}
- target: {fileID: 433714, guid: adb3eb1c35fcff14f89fba7b05c9d71c, type: 3}
propertyPath: m_LocalRotation.w
Expand All @@ -242,3 +272,54 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: adb3eb1c35fcff14f89fba7b05c9d71c, type: 3}
--- !u!4 &1155538067 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 433714, guid: adb3eb1c35fcff14f89fba7b05c9d71c,
type: 3}
m_PrefabInstance: {fileID: 1155538066}
m_PrefabAsset: {fileID: 0}
--- !u!1 &2034849620
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2034849622}
- component: {fileID: 2034849621}
m_Layer: 0
m_Name: Tutorial
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &2034849621
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2034849620}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d284efb2d8be1d04a935c4468b77a1a4, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!4 &2034849622
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2034849620}
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: 1155538067}
- {fileID: 160320687}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

0 comments on commit cadae0d

Please sign in to comment.