Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
MDPro2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赤子奈落
MDPro2
Commits
a3468b51
Commit
a3468b51
authored
Jul 18, 2023
by
赤子奈落
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add fps in setting
parent
243b8d25
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
548 additions
and
43 deletions
+548
-43
Assets/MD/main.unity
Assets/MD/main.unity
+534
-42
Assets/SibylSystem/Menu/Menu.cs
Assets/SibylSystem/Menu/Menu.cs
+1
-1
Assets/SibylSystem/Setting/Setting.cs
Assets/SibylSystem/Setting/Setting.cs
+13
-0
No files found.
Assets/MD/main.unity
View file @
a3468b51
...
...
@@ -30080,7 +30080,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154911931}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 150, y: -1
17
, z: 0}
m_LocalPosition: {x: 150, y: -1
80
, z: 0}
m_LocalScale: {x: 1.0001, y: 1.0001, z: 1.0001}
m_Children:
- {fileID: 155106005}
...
...
@@ -30262,7 +30262,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154685461}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 150, y: -
67
, z: 0}
m_LocalPosition: {x: 150, y: -
130
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 155186009}
...
...
@@ -30422,14 +30422,14 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154863863}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -250, y: -1
17
, z: 0}
m_LocalPosition: {x: -250, y: -1
80
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 155117971}
- {fileID: 155117741}
- {fileID: 155185233}
m_Father: {fileID: 155101239}
m_RootOrder: 1
7
m_RootOrder: 1
8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &155100805
Transform:
...
...
@@ -30465,6 +30465,7 @@ Transform:
- {fileID: 1806140972}
- {fileID: 155182335}
- {fileID: 1140477880}
- {fileID: 1181212156}
- {fileID: 155180381}
- {fileID: 4842747056387541}
- {fileID: 155164519}
...
...
@@ -30632,7 +30633,7 @@ Transform:
- {fileID: 155164555}
- {fileID: 155156199}
m_Father: {fileID: 155101239}
m_RootOrder: 2
8
m_RootOrder: 2
9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &155107807
Transform:
...
...
@@ -30656,7 +30657,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154684399}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 150, y:
33
, z: 0}
m_LocalPosition: {x: 150, y:
-30
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 155162937}
...
...
@@ -30694,7 +30695,7 @@ Transform:
- {fileID: 155188951}
- {fileID: 155132497}
m_Father: {fileID: 155101239}
m_RootOrder: 2
6
m_RootOrder: 2
7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &155110193
Transform:
...
...
@@ -30902,14 +30903,14 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154887833}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -250, y: -
17
, z: 0}
m_LocalPosition: {x: -250, y: -
80
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 155164421}
- {fileID: 155129283}
- {fileID: 155134795}
m_Father: {fileID: 155101239}
m_RootOrder: 1
5
m_RootOrder: 1
6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &155117741
Transform:
...
...
@@ -30961,7 +30962,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154918787}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 150, y: -
17
, z: 0}
m_LocalPosition: {x: 150, y: -
80
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 155110193}
...
...
@@ -31034,14 +31035,14 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154697245}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -250, y: -
67
, z: 0}
m_LocalPosition: {x: -250, y: -
130
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 155159575}
- {fileID: 155183087}
- {fileID: 155110483}
m_Father: {fileID: 155101239}
m_RootOrder: 1
6
m_RootOrder: 1
7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &155119509
Transform:
...
...
@@ -31065,7 +31066,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154886669}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 150, y:
83
, z: 0}
m_LocalPosition: {x: 150, y:
20
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 155172971}
...
...
@@ -31208,7 +31209,7 @@ Transform:
- {fileID: 155184431}
- {fileID: 155114297}
m_Father: {fileID: 155101239}
m_RootOrder: 2
2
m_RootOrder: 2
3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &155125343
Transform:
...
...
@@ -31247,7 +31248,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154880675}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 150, y: 1
83
, z: 0}
m_LocalPosition: {x: 150, y: 1
20
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 155119119}
...
...
@@ -31453,7 +31454,7 @@ Transform:
- {fileID: 155137457}
- {fileID: 155068247}
m_Father: {fileID: 155101239}
m_RootOrder: 2
5
m_RootOrder: 2
6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &155135827
Transform:
...
...
@@ -31519,14 +31520,14 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154923967}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -250, y:
83
, z: 0}
m_LocalPosition: {x: -250, y:
20
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 155102993}
- {fileID: 155174237}
- {fileID: 155067637}
m_Father: {fileID: 155101239}
m_RootOrder: 1
3
m_RootOrder: 1
4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &155140101
Transform:
...
...
@@ -31666,7 +31667,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154907665}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 150, y: -
167
, z: 0}
m_LocalPosition: {x: 150, y: -
230
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 155068717}
...
...
@@ -31758,7 +31759,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154694391}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 150, y: 2
83
, z: 0}
m_LocalPosition: {x: 150, y: 2
20
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 155104605}
...
...
@@ -31782,7 +31783,7 @@ Transform:
- {fileID: 155098535}
- {fileID: 155092169}
m_Father: {fileID: 155101239}
m_RootOrder: 2
7
m_RootOrder: 2
8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &155155687
Transform:
...
...
@@ -31806,7 +31807,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154867871}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 150, y:
133
, z: 0}
m_LocalPosition: {x: 150, y:
70
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 155140101}
...
...
@@ -31991,14 +31992,14 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154669545}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -250, y:
133
, z: 0}
m_LocalPosition: {x: -250, y:
70
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 155148719}
- {fileID: 155115587}
- {fileID: 155118389}
m_Father: {fileID: 155101239}
m_RootOrder: 1
2
m_RootOrder: 1
3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &155163239
Transform:
...
...
@@ -32051,14 +32052,14 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154876135}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -250, y: 1
83
, z: 0}
m_LocalPosition: {x: -250, y: 1
20
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 155109485}
- {fileID: 155107409}
- {fileID: 155096911}
m_Father: {fileID: 155101239}
m_RootOrder: 1
1
m_RootOrder: 1
2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &155164555
Transform:
...
...
@@ -32120,7 +32121,7 @@ Transform:
- {fileID: 155107641}
- {fileID: 155146057}
m_Father: {fileID: 155101239}
m_RootOrder: 2
1
m_RootOrder: 2
2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &155165811
Transform:
...
...
@@ -32158,7 +32159,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154845065}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 150, y:
233
, z: 0}
m_LocalPosition: {x: 150, y:
170
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 155128351}
...
...
@@ -32322,7 +32323,7 @@ Transform:
- {fileID: 155178019}
- {fileID: 155133895}
m_Father: {fileID: 155101239}
m_RootOrder: 2
4
m_RootOrder: 2
5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &155180381
Transform:
...
...
@@ -32332,14 +32333,14 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154864521}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -250, y: 2
82.79
, z: 0}
m_LocalPosition: {x: -250, y: 2
20
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 155146643}
- {fileID: 155073525}
- {fileID: 155107099}
m_Father: {fileID: 155101239}
m_RootOrder:
9
m_RootOrder:
10
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &155180833
Transform:
...
...
@@ -32393,14 +32394,14 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154918303}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -250, y:
33
, z: 0}
m_LocalPosition: {x: -250, y:
-30
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 155176377}
- {fileID: 155135407}
- {fileID: 155173779}
m_Father: {fileID: 155101239}
m_RootOrder: 1
4
m_RootOrder: 1
5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &155182335
Transform:
...
...
@@ -32511,14 +32512,14 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154887163}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -250, y: -2
17
, z: 0}
m_LocalPosition: {x: -250, y: -2
80
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 155186365}
- {fileID: 155133351}
- {fileID: 155118163}
m_Father: {fileID: 155101239}
m_RootOrder:
19
m_RootOrder:
20
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &155186009
Transform:
...
...
@@ -32542,14 +32543,14 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154879405}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -250, y: -
167
, z: 0}
m_LocalPosition: {x: -250, y: -
230
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 155125053}
- {fileID: 155138871}
- {fileID: 155181639}
m_Father: {fileID: 155101239}
m_RootOrder: 1
8
m_RootOrder: 1
9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &155186365
Transform:
...
...
@@ -32608,7 +32609,7 @@ Transform:
- {fileID: 155162339}
- {fileID: 155179009}
m_Father: {fileID: 155101239}
m_RootOrder: 2
3
m_RootOrder: 2
4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &156882681
GameObject:
...
...
@@ -58116,6 +58117,104 @@ MonoBehaviour:
scrollView: {fileID: 0}
draggablePanel: {fileID: 0}
can_be_draged: 1
--- !u!1 &257479204
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 257479205}
- component: {fileID: 257479206}
m_Layer: 11
m_Name: '!lable'
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &257479205
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 257479204}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -285, y: 18, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1181212156}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &257479206
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 257479204}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e9d0b5f3bbe925a408bd595c79d0bf63, type: 3}
m_Name:
m_EditorClassIdentifier:
leftAnchor:
target: {fileID: 1181212156}
relative: 0
absolute: -180
rightAnchor:
target: {fileID: 1181212156}
relative: 0
absolute: 0
bottomAnchor:
target: {fileID: 1181212156}
relative: 0
absolute: 0
topAnchor:
target: {fileID: 1181212156}
relative: 0
absolute: 40
updateAnchors: 2
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 180
mHeight: 40
mDepth: 2
autoResizeBoxCollider: 0
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 4.5
keepCrispWhenShrunk: 1
mTrueTypeFont: {fileID: 12800000, guid: 154a5b3c6e48fa4448be221e7c4a68de, type: 3}
mFont: {fileID: 0}
mText: "\u5237\u65B0\u7387"
mFontSize: 30
mFontStyle: 0
mAlignment: 1
mEncoding: 1
mMaxLineCount: 0
mEffectStyle: 1
mEffectColor: {r: 0, g: 0, b: 0, a: 1}
mSymbols: 1
mEffectDistance: {x: 1, y: 1}
mOverflow: 0
mMaterial: {fileID: 0}
mApplyGradient: 1
mGradientTop: {r: 1, g: 1, b: 1, a: 1}
mGradientBottom: {r: 0.7, g: 0.7, b: 0.7, a: 1}
mSpacingX: 0
mSpacingY: 0
mUseFloatSpacing: 0
mFloatSpacingX: 0
mFloatSpacingY: 0
mOverflowEllipsis: 0
mShrinkToFit: 0
mMaxLineWidth: 0
mMaxLineHeight: 0
mLineWidth: 0
mMultiline: 1
--- !u!1 &257521321
GameObject:
m_ObjectHideFlags: 0
...
...
@@ -71815,14 +71914,14 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 359811953}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -250, y: -
267
, z: 0}
m_LocalPosition: {x: -250, y: -
330
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 185212168}
- {fileID: 1494277373}
- {fileID: 577073500}
m_Father: {fileID: 155101239}
m_RootOrder: 2
0
m_RootOrder: 2
1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &359811955
MonoBehaviour:
...
...
@@ -150587,6 +150686,92 @@ MonoBehaviour:
mFixedAspect: 0
mPixelSize: 0.8
nextSprite: {fileID: 0}
--- !u!1 &921284817
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 921284818}
- component: {fileID: 921284819}
m_Layer: 11
m_Name: Symbol
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &921284818
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 921284817}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 180, y: 22, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1181212156}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &921284819
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 921284817}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e96b31ce75e592f45a1cff563a4869db, type: 3}
m_Name:
m_EditorClassIdentifier:
leftAnchor:
target: {fileID: 1181212156}
relative: 1
absolute: -30
rightAnchor:
target: {fileID: 1181212156}
relative: 1
absolute: 0
bottomAnchor:
target: {fileID: 1181212156}
relative: 0
absolute: 8
topAnchor:
target: {fileID: 1181212156}
relative: 0
absolute: 38
updateAnchors: 2
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 30
mHeight: 30
mDepth: 2
autoResizeBoxCollider: 0
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 1
mType: 0
mFillDirection: 4
mFillAmount: 1
mInvert: 0
mFlip: 0
centerType: 1
leftType: 1
rightType: 1
bottomType: 1
topType: 1
mSprite: {fileID: 21300000, guid: 7ef33d778ef208e4abc22a4c8175b9b6, type: 2}
mMat: {fileID: 0}
mShader: {fileID: 4800000, guid: e75727d9555d9d14ca51d91908c681bc, type: 3}
mBorder: {x: 0, y: 0, z: 0, w: 0}
mFixedAspect: 0
mPixelSize: 1
nextSprite: {fileID: 0}
--- !u!1 &922505046
GameObject:
m_ObjectHideFlags: 0
...
...
@@ -186061,6 +186246,215 @@ MonoBehaviour:
mFixedAspect: 0
mPixelSize: 1
nextSprite: {fileID: 0}
--- !u!1 &1181212155
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1181212156}
- component: {fileID: 1181212161}
- component: {fileID: 1181212160}
- component: {fileID: 1181212159}
- component: {fileID: 1181212158}
- component: {fileID: 1181212157}
m_Layer: 11
m_Name: fps_
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1181212156
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1181212155}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 125, y: 260, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1708272454}
- {fileID: 921284818}
- {fileID: 257479205}
m_Father: {fileID: 155101239}
m_RootOrder: 9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1181212157
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1181212155}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e96b31ce75e592f45a1cff563a4869db, type: 3}
m_Name:
m_EditorClassIdentifier:
leftAnchor:
target: {fileID: 0}
relative: 0
absolute: -28
rightAnchor:
target: {fileID: 0}
relative: 1
absolute: 362
bottomAnchor:
target: {fileID: 0}
relative: 0
absolute: -182
topAnchor:
target: {fileID: 0}
relative: 1
absolute: -179
updateAnchors: 2
mColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
mPivot: 4
mWidth: 390
mHeight: 3
mDepth: 2
autoResizeBoxCollider: 0
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 130
mType: 0
mFillDirection: 4
mFillAmount: 1
mInvert: 0
mFlip: 0
centerType: 1
leftType: 1
rightType: 1
bottomType: 1
topType: 1
mSprite: {fileID: 21300000, guid: 24d8ae30366513b4b857c6ee6de477bb, type: 2}
mMat: {fileID: 0}
mShader: {fileID: 4800000, guid: e75727d9555d9d14ca51d91908c681bc, type: 3}
mBorder: {x: 2, y: 2, z: 2, w: 2}
mFixedAspect: 0
mPixelSize: 1
nextSprite: {fileID: 0}
--- !u!114 &1181212158
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1181212155}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d48de937f6d201943a921f61a30bd9be, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &1181212159
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1181212155}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1fdca5042b1d12a4890ec1bd4f04290d, type: 3}
m_Name:
m_EditorClassIdentifier:
tweenTarget: {fileID: 1181212155}
hover: {r: 0.65, g: 0.85, b: 0, a: 1}
pressed: {r: 0.4, g: 0.5, b: 0, a: 1}
disabledColor: {r: 1, g: 1, b: 1, a: 1}
duration: 0.2
dragHighlight: 0
hoverSprite:
pressedSprite:
disabledSprite:
hoverSprite2D: {fileID: 0}
pressedSprite2D: {fileID: 0}
disabledSprite2D: {fileID: 0}
pixelSnap: 0
onClick: []
mTextureOutNormal:
mTextureOutPressed:
--- !u!65 &1181212160
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1181212155}
m_Material: {fileID: 0}
m_IsTrigger: 1
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 300, y: 40, z: 0}
m_Center: {x: 0, y: 20, z: 0}
--- !u!114 &1181212161
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1181212155}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 57e428c9b6087304da439ec665b56a2d, type: 3}
m_Name:
m_EditorClassIdentifier:
atlas: {fileID: 11400000, guid: 62adb30369acbf943a67cee0f69267a3, type: 3}
bitmapFont: {fileID: 0}
trueTypeFont: {fileID: 12800000, guid: f0cfb8fcae3317e4196a7f6e4c50fbd1, type: 3}
fontSize: 30
fontStyle: 0
backgroundSprite: Button
highlightSprite: Button
position: 0
alignment: 1
items:
- 15
- 30
- 60
- 90
- 120
- 144
- 165
- 180
- 240
- 360
- "\u65E0\u9650\u5236"
padding: {x: 4, y: 4}
textColor: {r: 1, g: 1, b: 1, a: 1}
backgroundColor: {r: 0, g: 0, b: 0, a: 1}
highlightColor: {r: 1, g: 1, b: 1, a: 0.39215687}
isAnimated: 1
isLocalized: 0
separatePanel: 1
openOn: 0
onChange:
- mTarget: {fileID: 1708272455}
mMethodName: SetCurrentSelection
mParameters: []
oneShot: 0
- mTarget: {fileID: 1181212158}
mMethodName: function
mParameters: []
oneShot: 0
mSelectedItem: 60
mPanel: {fileID: 0}
mBackground: {fileID: 0}
mHighlight: {fileID: 0}
mHighlightedLabel: {fileID: 0}
mLabelList: []
mBgBorder: 0
eventReceiver: {fileID: 0}
functionName:
textScale: 0
font: {fileID: 0}
textLabel: {fileID: 0}
source: {fileID: 0}
--- !u!1 &1181766460
GameObject:
m_ObjectHideFlags: 0
...
...
@@ -263258,6 +263652,104 @@ MonoBehaviour:
mMaxLineHeight: 0
mLineWidth: 0
mMultiline: 1
--- !u!1 &1708272453
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1708272454}
- component: {fileID: 1708272455}
m_Layer: 11
m_Name: content_
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1708272454
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1708272453}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -195, y: 20, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1181212156}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1708272455
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1708272453}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e9d0b5f3bbe925a408bd595c79d0bf63, type: 3}
m_Name:
m_EditorClassIdentifier:
leftAnchor:
target: {fileID: 1181212156}
relative: 0
absolute: 0
rightAnchor:
target: {fileID: 1181212156}
relative: 1
absolute: 0
bottomAnchor:
target: {fileID: 1181212156}
relative: 0
absolute: 0
topAnchor:
target: {fileID: 1181212156}
relative: 1
absolute: 40
updateAnchors: 2
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 3
mWidth: 390
mHeight: 43
mDepth: 11
autoResizeBoxCollider: 0
hideIfOffScreen: 0
keepAspectRatio: 0
aspectRatio: 9.069767
keepCrispWhenShrunk: 1
mTrueTypeFont: {fileID: 12800000, guid: f0cfb8fcae3317e4196a7f6e4c50fbd1, type: 3}
mFont: {fileID: 0}
mText: 60
mFontSize: 30
mFontStyle: 0
mAlignment: 0
mEncoding: 1
mMaxLineCount: 1
mEffectStyle: 1
mEffectColor: {r: 0, g: 0, b: 0, a: 1}
mSymbols: 1
mEffectDistance: {x: 1, y: 1}
mOverflow: 0
mMaterial: {fileID: 0}
mApplyGradient: 1
mGradientTop: {r: 1, g: 1, b: 1, a: 1}
mGradientBottom: {r: 0.7, g: 0.7, b: 0.7, a: 1}
mSpacingX: 0
mSpacingY: 0
mUseFloatSpacing: 0
mFloatSpacingX: 0
mFloatSpacingY: 0
mOverflowEllipsis: 0
mShrinkToFit: 0
mMaxLineWidth: 0
mMaxLineHeight: 0
mLineWidth: 0
mMultiline: 1
--- !u!1 &1709347647
GameObject:
m_ObjectHideFlags: 0
...
...
@@ -328513,14 +329005,14 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1335507872375793}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -250, y:
233
, z: 0}
m_LocalPosition: {x: -250, y:
170
, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 4929848396600611}
- {fileID: 4761421771030821}
- {fileID: 4625296276217859}
m_Father: {fileID: 155101239}
m_RootOrder: 1
0
m_RootOrder: 1
1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &4856659391455839
Transform:
Assets/SibylSystem/Menu/Menu.cs
View file @
a3468b51
...
...
@@ -30,7 +30,7 @@ public class Menu : WindowServantSP
UIHelper
.
registEvent
(
gameObject
,
"exit_"
,
onClickExit
);
UIHelper
.
registEvent
(
gameObject
,
"animation_"
,
onClickAnimation
);
//MDPRO2 update
UIHelper
.
getByName
<
UILabel
>(
gameObject
,
"version_"
).
text
=
"2.0.
1
"
;
UIHelper
.
getByName
<
UILabel
>(
gameObject
,
"version_"
).
text
=
"2.0.
2
"
;
Program
.
I
().
StartCoroutine
(
checkUpdate
());
}
...
...
Assets/SibylSystem/Setting/Setting.cs
View file @
a3468b51
...
...
@@ -12,6 +12,7 @@ public class Setting : WindowServant2D
public
LAZYsetting
setting
;
private
UIPopupList
_screen
;
private
UIPopupList
_aa
;
private
UIPopupList
_fps
;
public
float
bgmVol
;
public
float
seVol
;
...
...
@@ -24,10 +25,14 @@ public class Setting : WindowServant2D
_screen
=
UIHelper
.
getByName
<
UIPopupList
>(
gameObject
,
"screen_"
);
_aa
=
UIHelper
.
getByName
<
UIPopupList
>(
gameObject
,
"aa_"
);
_aa
.
value
=
Config
.
Get
(
"aa_"
,
"无"
);
_fps
=
UIHelper
.
getByName
<
UIPopupList
>(
gameObject
,
"fps_"
);
_fps
.
value
=
Config
.
Get
(
"fps_"
,
"60"
);
changeAA
();
changeFPS
();
UIHelper
.
registEvent
(
gameObject
,
"exit_"
,
onClickExit
);
UIHelper
.
registEvent
(
gameObject
,
"screen_"
,
resizeScreen
);
UIHelper
.
registEvent
(
gameObject
,
"aa_"
,
changeAA
);
UIHelper
.
registEvent
(
gameObject
,
"fps_"
,
changeFPS
);
UIHelper
.
registEvent
(
gameObject
,
"full_"
,
resizeScreen
);
UIHelper
.
getByName
<
UIToggle
>(
gameObject
,
"full_"
).
value
=
Screen
.
fullScreen
;
UIHelper
.
getByName
<
UIToggle
>(
gameObject
,
"ignoreWatcher_"
).
value
=
...
...
@@ -101,6 +106,13 @@ public class Setting : WindowServant2D
setting
.
field1
.
text
=
Config
.
Get
(
"Field1"
,
"随机"
);
}
void
changeFPS
()
{
if
(
_fps
.
value
==
"无限制"
)
Application
.
targetFrameRate
=
-
1
;
else
Application
.
targetFrameRate
=
int
.
Parse
(
_fps
.
value
);
}
void
changeAA
()
{
var
cameraData
=
Program
.
I
().
main_camera
.
GetUniversalAdditionalCameraData
();
...
...
@@ -300,6 +312,7 @@ public class Setting : WindowServant2D
Config
.
Set
(
"showoffStar"
,
setting
.
showoffStar
.
value
);
Config
.
Set
(
"maximize_"
,
UIHelper
.
fromBoolToString
(
UIHelper
.
isMaximized
()));
Config
.
Set
(
"aa_"
,
_aa
.
value
);
Config
.
Set
(
"fps_"
,
_fps
.
value
);
}
public
void
save
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment