Commit 8624f898 authored by 赤子奈落's avatar 赤子奈落

new shortcut for switch setting

parent 114729d1
......@@ -30,6 +30,14 @@ public class upMode : MonoBehaviour
void Update()
{
if (Input.GetKeyUp(KeyCode.F2))
{
if (Program.I().setting.isShowed)
Program.I().setting.hide();
else
Program.I().setting.show();
}
if (Input.GetKeyUp(KeyCode.F4))
{
if(Program.I().cardDescription.isShowed)
......
......@@ -1128,7 +1128,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 407516, guid: 0f5784805788a664da2c92f42ec39685, type: 3}
propertyPath: m_LocalPosition.x
value: 0
value: 314
objectReference: {fileID: 0}
- target: {fileID: 407516, guid: 0f5784805788a664da2c92f42ec39685, type: 3}
propertyPath: m_LocalPosition.y
......@@ -1445,6 +1445,12 @@ MonoBehaviour:
font: {fileID: 0}
textLabel: {fileID: 0}
source: {fileID: 0}
--- !u!4 &137373064 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 407516, guid: 0f5784805788a664da2c92f42ec39685,
type: 3}
m_PrefabInstance: {fileID: 98754544}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &154778457
PrefabInstance:
m_ObjectHideFlags: 0
......@@ -1514,7 +1520,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 416260, guid: b1ec81ad075831c4da5c2baaaa65594b, type: 3}
propertyPath: m_LocalPosition.y
value: 768
value: 700
objectReference: {fileID: 0}
- target: {fileID: 416260, guid: b1ec81ad075831c4da5c2baaaa65594b, type: 3}
propertyPath: m_LocalPosition.z
......@@ -9042,6 +9048,138 @@ MonoBehaviour:
mMaxLineHeight: 0
mLineWidth: 0
mMultiline: 1
--- !u!1 &1196096834
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1196096835}
- component: {fileID: 1196096838}
- component: {fileID: 1196096836}
- component: {fileID: 1196096837}
m_Layer: 8
m_Name: Button
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1196096835
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1196096834}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: -86, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 137373064}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1196096836
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1196096834}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1fdca5042b1d12a4890ec1bd4f04290d, type: 3}
m_Name:
m_EditorClassIdentifier:
tweenTarget: {fileID: 1196096834}
hover: {r: 1, g: 1, b: 1, a: 1}
pressed: {r: 1, g: 1, b: 1, a: 1}
disabledColor: {r: 1, g: 1, b: 1, a: 1}
duration: 0.2
dragHighlight: 0
hoverSprite:
pressedSprite:
disabledSprite:
hoverSprite2D: {fileID: 21300000, guid: a5f621f8699d4034fb491950897e12b0, type: 2}
pressedSprite2D: {fileID: 21300000, guid: 2a55d32e6f201ab439cd232cc4ac626e, type: 2}
disabledSprite2D: {fileID: 0}
pixelSnap: 0
onClick: []
mTextureOutNormal:
mTextureOutPressed:
--- !u!58 &1196096837
CircleCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1196096834}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 0
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0, y: 0}
serializedVersion: 2
m_Radius: 0.5
--- !u!114 &1196096838
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1196096834}
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: 0
rightAnchor:
target: {fileID: 0}
relative: 1
absolute: 0
bottomAnchor:
target: {fileID: 0}
relative: 0
absolute: 0
topAnchor:
target: {fileID: 0}
relative: 1
absolute: 0
updateAnchors: 1
mColor: {r: 1, g: 1, b: 1, a: 1}
mPivot: 4
mWidth: 100
mHeight: 100
mDepth: 0
autoResizeBoxCollider: 1
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: e067b5ea8e0b7914799e798cae586d3a, 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!4 &1208619106 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 484650, guid: b1ec81ad075831c4da5c2baaaa65594b,
......
......@@ -21,6 +21,7 @@ namespace YGOSharp
nullName = InterString.Get("欢迎使用MDPro2");
nullString = @"
快捷键功能:
F2:开关设置;
F4:开关卡片描述;
F5:开关决斗时的UI;
F6:锁定画面位置(画面无法上下移动);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment