This commit is contained in:
puxuan 2025-08-08 11:41:21 +08:00
parent 6fa1b63954
commit 313e3f6bdf
10 changed files with 2127 additions and 116 deletions

View File

@ -10,14 +10,21 @@ namespace BF
public float endX = 0.0f;
public float resetX = 0.0f;
public int type = 0;
public bool canMove = true;
public void SetPositionByTime(float time)
{
var transformRect = GetComponent<RectTransform>();
transformRect.anchoredPosition = new Vector2(transformRect.anchoredPosition.x + speed * time, transformRect.anchoredPosition.y);
}
void FixedUpdate()
{
// if (!BF.BFMain.Instance.BattleMgr.UpdateEnabled) return;
var transform = GetComponent<RectTransform>();
if (transform.anchoredPosition.x <= endX)
if (!canMove) return;
var transformRect = GetComponent<RectTransform>();
if (transformRect.anchoredPosition.x <= endX)
{
transform.anchoredPosition = new Vector2(resetX, transform.anchoredPosition.y);
transformRect.anchoredPosition = new Vector2(resetX, transformRect.anchoredPosition.y);
}
// if (type == 1)
// {
@ -39,7 +46,8 @@ namespace BF
// {
// speed = BF.BFMain.Instance.BattleMgr.SceneSpeedBg;
// }
transform.Translate(speed * Time.deltaTime, 0.0f, 0.0f);
// transform.Translate(speed * Time.fixedDeltaTime, 0.0f, 0.0f);
transformRect.anchoredPosition = new Vector2(transformRect.anchoredPosition.x + speed * Time.fixedDeltaTime, transformRect.anchoredPosition.y);
}
}
}

View File

@ -21,19 +21,22 @@ namespace XLua.CSObjectWrap
{
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
System.Type type = typeof(BF.BattleControlBg);
Utils.BeginObjectRegister(type, L, translator, 0, 0, 4, 4);
Utils.BeginObjectRegister(type, L, translator, 0, 1, 5, 5);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetPositionByTime", _m_SetPositionByTime);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "speed", _g_get_speed);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "endX", _g_get_endX);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "resetX", _g_get_resetX);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "type", _g_get_type);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "canMove", _g_get_canMove);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "speed", _s_set_speed);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "endX", _s_set_endX);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "resetX", _s_set_resetX);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "type", _s_set_type);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "canMove", _s_set_canMove);
Utils.EndObjectRegister(type, L, translator, null, null,
@ -79,6 +82,34 @@ namespace XLua.CSObjectWrap
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetPositionByTime(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleControlBg gen_to_be_invoked = (BF.BattleControlBg)translator.FastGetCSObj(L, 1);
{
float _time = (float)LuaAPI.lua_tonumber(L, 2);
gen_to_be_invoked.SetPositionByTime( _time );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
@ -138,6 +169,20 @@ namespace XLua.CSObjectWrap
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_canMove(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleControlBg gen_to_be_invoked = (BF.BattleControlBg)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.canMove);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
@ -200,6 +245,21 @@ namespace XLua.CSObjectWrap
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_canMove(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleControlBg gen_to_be_invoked = (BF.BattleControlBg)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.canMove = LuaAPI.lua_toboolean(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}

View File

@ -48,7 +48,7 @@ TextureImporter:
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteBorder: {x: 14, y: 0, z: 14, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
@ -132,7 +132,7 @@ TextureImporter:
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
internalID: 1537655665
vertices: []
indices:
edges: []

View File

@ -48,7 +48,7 @@ TextureImporter:
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteBorder: {x: 42, y: 0, z: 5, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
@ -132,7 +132,7 @@ TextureImporter:
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
internalID: 1537655665
vertices: []
indices:
edges: []

View File

@ -4853,7 +4853,7 @@ ParticleSystemRenderer:
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 9999
m_SortingOrder: 0
m_RenderMode: 0
m_MeshDistribution: 0
m_SortMode: 0
@ -9793,7 +9793,7 @@ ParticleSystemRenderer:
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 9999
m_SortingOrder: 0
m_RenderMode: 0
m_MeshDistribution: 0
m_SortMode: 0
@ -14677,7 +14677,7 @@ ParticleSystemRenderer:
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 9999
m_SortingOrder: 0
m_RenderMode: 0
m_MeshDistribution: 0
m_SortMode: 0
@ -19561,7 +19561,7 @@ ParticleSystemRenderer:
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 9999
m_SortingOrder: 0
m_RenderMode: 0
m_MeshDistribution: 0
m_SortMode: 0
@ -29268,7 +29268,7 @@ ParticleSystemRenderer:
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 9999
m_SortingOrder: 0
m_RenderMode: 1
m_MeshDistribution: 0
m_SortMode: 0
@ -34152,7 +34152,7 @@ ParticleSystemRenderer:
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 9999
m_SortingOrder: 0
m_RenderMode: 0
m_MeshDistribution: 0
m_SortMode: 0

View File

@ -894,7 +894,7 @@ GameObject:
m_Component:
- component: {fileID: 5198724544769838051}
- component: {fileID: 2297117606088499637}
- component: {fileID: 3679922115838108349}
- component: {fileID: 5269721507140513284}
m_Layer: 5
m_Name: bg
m_TagString: Untagged
@ -917,10 +917,10 @@ RectTransform:
m_Father: {fileID: 5339333885219356068}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 960, y: 848}
m_SizeDelta: {x: 3840, y: 1800}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 1791}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2297117606088499637
CanvasRenderer:
@ -930,7 +930,7 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 463079035279260010}
m_CullTransparentMesh: 1
--- !u!114 &3679922115838108349
--- !u!114 &5269721507140513284
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@ -939,7 +939,7 @@ MonoBehaviour:
m_GameObject: {fileID: 463079035279260010}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3}
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 2100000, guid: 8fbea6f32a7344f69af606d42e8d880a, type: 2}
@ -950,13 +950,16 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Texture: {fileID: 2800000, guid: a588f737b35bbe841ad2437be111429e, type: 3}
m_UVRect:
serializedVersion: 2
x: 0
y: 0
width: 2
height: 1
m_Sprite: {fileID: 21300000, guid: 7716cb1bbd8234cdea572390f709ea1b, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &517010416691627781
GameObject:
m_ObjectHideFlags: 0
@ -1378,7 +1381,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 47}
m_AnchoredPosition: {x: 0, y: -58}
m_SizeDelta: {x: 702, y: 702}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5571968080124832430
@ -1807,9 +1810,9 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: -218, y: -12}
m_SizeDelta: {x: 270, y: 58}
m_Pivot: {x: 0.5, y: 1}
m_AnchoredPosition: {x: -218, y: -97}
m_SizeDelta: {x: 284, y: 54}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6419822326249355903
CanvasRenderer:
m_ObjectHideFlags: 0
@ -1838,7 +1841,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 331e6bd86c6815246bbdc3582757afde, type: 3}
m_Sprite: {fileID: 21300000, guid: cc67fe959fa62448bbf506c6446bc22a, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
@ -1936,8 +1939,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: -41}
m_SizeDelta: {x: 204, y: 64}
m_AnchoredPosition: {x: 0, y: -97}
m_SizeDelta: {x: 215, y: 56}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2534213689399235797
CanvasRenderer:
@ -1967,8 +1970,8 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: f37b1779751e6de42b14f4d4c8f52609, type: 3}
m_Type: 1
m_Sprite: {fileID: 21300000, guid: 4ec6af3f661674ceab9968678a34c61c, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
@ -2243,9 +2246,9 @@ RectTransform:
m_Father: {fileID: 1493758059695593667}
m_RootOrder: 11
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: 0, y: -80}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 360, y: -201}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!95 &3082504113268690477
@ -3082,7 +3085,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -277, y: -169.5}
m_AnchoredPosition: {x: -277, y: -190}
m_SizeDelta: {x: 165, y: 40}
m_Pivot: {x: 0.5, y: 1}
--- !u!225 &1311093511924940087
@ -4026,11 +4029,11 @@ RectTransform:
m_Father: {fileID: 8367488913663849825}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: 47}
m_SizeDelta: {x: 414, y: 24}
m_Pivot: {x: 0.5, y: 1}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: 764}
m_SizeDelta: {x: 440, y: 30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5155913436755294701
CanvasRenderer:
m_ObjectHideFlags: 0
@ -4610,14 +4613,15 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Children:
- {fileID: 8824225834017894010}
m_Father: {fileID: 1493758059695593667}
m_RootOrder: 10
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -215, y: -120}
m_SizeDelta: {x: 70, y: 70}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: -244, y: -201}
m_SizeDelta: {x: 58, y: 58}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3556892458541024099
CanvasRenderer:
@ -4647,7 +4651,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: b87dcadba2e6bb442a2874411677d1ae, type: 3}
m_Sprite: {fileID: 21300000, guid: 111fa2e75dc3d47c0bad6dce4490f997, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -5144,7 +5148,7 @@ RectTransform:
m_Children:
- {fileID: 9047271468403384144}
m_Father: {fileID: 5339333885219356068}
m_RootOrder: 1
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
@ -5221,7 +5225,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 47}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 702, y: 702}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!223 &6147286621111879589
@ -5333,7 +5337,7 @@ MonoBehaviour:
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294943177
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
@ -6124,14 +6128,15 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Children:
- {fileID: 4443302553729463141}
m_Father: {fileID: 1493758059695593667}
m_RootOrder: 9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -308, y: -120}
m_SizeDelta: {x: 70, y: 70}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: -314, y: -201}
m_SizeDelta: {x: 58, y: 58}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6341968543497613430
CanvasRenderer:
@ -6161,7 +6166,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 306205473d3cf1f4a9d821c3e2971092, type: 3}
m_Sprite: {fileID: 21300000, guid: 111fa2e75dc3d47c0bad6dce4490f997, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -6936,11 +6941,11 @@ RectTransform:
m_Father: {fileID: 1493758059695593667}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: -11, y: 28.5}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 349, y: -97}
m_SizeDelta: {x: 25, y: 39}
m_Pivot: {x: 1, y: 1}
m_Pivot: {x: 1, y: 0.5}
--- !u!222 &2745777348388964098
CanvasRenderer:
m_ObjectHideFlags: 0
@ -7148,9 +7153,9 @@ RectTransform:
m_Father: {fileID: 8367488913663849825}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 488}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: 829}
m_SizeDelta: {x: 409, y: 76}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &347052983424536117
@ -7214,10 +7219,10 @@ RectTransform:
m_Father: {fileID: 8367488913663849825}
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: 376}
m_SizeDelta: {x: 702, y: 702}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &2818317335109643023
MonoBehaviour:
@ -7834,7 +7839,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: -115}
m_AnchoredPosition: {x: 0, y: -145}
m_SizeDelta: {x: 446, y: 104}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &3322225687704146012
@ -8085,7 +8090,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: -40}
m_AnchoredPosition: {x: 0, y: -97}
m_SizeDelta: {x: 44, y: 46}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5298323509264782958
@ -8252,9 +8257,9 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 208, y: -41}
m_AnchoredPosition: {x: 301, y: -97}
m_SizeDelta: {x: 200, y: 21}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 1, y: 0.5}
--- !u!222 &8852769564715850993
CanvasRenderer:
m_ObjectHideFlags: 0
@ -8942,7 +8947,7 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 5339333885219356068}
m_RootOrder: 3
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
@ -9985,7 +9990,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: -41}
m_AnchoredPosition: {x: 0, y: -97}
m_SizeDelta: {x: 200, y: 21}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4498655911527888047
@ -10227,7 +10232,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 6977af166b59e254a869ca5639e56bec, type: 3}
m_Sprite: {fileID: 21300000, guid: 143a02006f322054e926abff54bc2953, type: 3}
m_FillDirection: 0
m_Value: 1
m_FillCenter: 1
@ -10293,9 +10298,9 @@ RectTransform:
m_Father: {fileID: 8367488913663849825}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 47}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: 376}
m_SizeDelta: {x: 702, y: 702}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!223 &3347503275543351042
@ -10523,7 +10528,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: -67}
m_AnchoredPosition: {x: 0, y: -97}
m_SizeDelta: {x: 180, y: 130}
m_Pivot: {x: 0, y: 1}
--- !u!1 &6569657495435905561
@ -11303,7 +11308,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: 83}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 702, y: 702}
m_Pivot: {x: 0.5, y: 0}
--- !u!222 &1015044458492033819
@ -11532,6 +11537,82 @@ MonoBehaviour:
m_VerticalOverflow: 1
m_LineSpacing: 1
m_Text:
--- !u!1 &7325455564625531205
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4443302553729463141}
- component: {fileID: 2656064369579405919}
- component: {fileID: 3657207212204914163}
m_Layer: 5
m_Name: img
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &4443302553729463141
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7325455564625531205}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1603915954017502330}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 50, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2656064369579405919
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7325455564625531205}
m_CullTransparentMesh: 1
--- !u!114 &3657207212204914163
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7325455564625531205}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: f207b6a8a2b9544ba8cf83c4142496e3, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &7394268279922105004
GameObject:
m_ObjectHideFlags: 0
@ -11797,6 +11878,42 @@ MonoBehaviour:
hashName: 1371048954
objectType: 0
gameObject: {fileID: 2370068613729688919}
--- !u!1 &7633637597024204544
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 474112944139215657}
m_Layer: 5
m_Name: map_node
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &474112944139215657
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7633637597024204544}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 5339333885219356068}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &7634601474060982406
GameObject:
m_ObjectHideFlags: 0
@ -11943,6 +12060,82 @@ MonoBehaviour:
m_FillOrigin: 2
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &7673668570685533664
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8824225834017894010}
- component: {fileID: 3915768018321167363}
- component: {fileID: 5758807800271701847}
m_Layer: 5
m_Name: img
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8824225834017894010
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7673668570685533664}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 3502873087005884641}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 50, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3915768018321167363
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7673668570685533664}
m_CullTransparentMesh: 1
--- !u!114 &5758807800271701847
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7673668570685533664}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 792ef1532be4a470aaf22dff9cde4e68, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &7688802235252301942
GameObject:
m_ObjectHideFlags: 0
@ -12054,7 +12247,7 @@ RectTransform:
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 39, y: 42}
m_SizeDelta: {x: 47, y: 47}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5852910697709133844
CanvasRenderer:
@ -12084,7 +12277,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: cd8cf65d131e4bf44a2d7c37bfe60080, type: 3}
m_Sprite: {fileID: 21300000, guid: 992fea33b6dcd49eea68c4f018767315, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
@ -12259,6 +12452,7 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 5198724544769838051}
- {fileID: 474112944139215657}
- {fileID: 766509631108997893}
- {fileID: 5146938743224756479}
- {fileID: 8767600639872220622}
@ -12401,9 +12595,9 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 218, y: -12}
m_SizeDelta: {x: 270, y: 58}
m_Pivot: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 218, y: -97}
m_SizeDelta: {x: 284, y: 54}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2929508001178314973
CanvasRenderer:
m_ObjectHideFlags: 0
@ -12432,7 +12626,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 331e6bd86c6815246bbdc3582757afde, type: 3}
m_Sprite: {fileID: 21300000, guid: cc67fe959fa62448bbf506c6446bc22a, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
@ -12496,8 +12690,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: -10}
m_SizeDelta: {x: 1280, y: 774}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 1280, y: 867}
m_Pivot: {x: 0.5, y: 0}
--- !u!222 &4090866635735359956
CanvasRenderer:
@ -12540,11 +12734,11 @@ RectTransform:
m_Father: {fileID: 1493758059695593667}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
m_AnchoredPosition: {x: 11, y: 28.5}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: -349, y: -97}
m_SizeDelta: {x: 25, y: 39}
m_Pivot: {x: 0, y: 1}
m_Pivot: {x: 0, y: 0.5}
--- !u!222 &7607769580009921578
CanvasRenderer:
m_ObjectHideFlags: 0
@ -12657,7 +12851,7 @@ RectTransform:
- {fileID: 3489063842309262745}
- {fileID: 4664354651433881416}
m_Father: {fileID: 5339333885219356068}
m_RootOrder: 4
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@ -13011,7 +13205,7 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 5339333885219356068}
m_RootOrder: 2
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
@ -13087,9 +13281,9 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: -208, y: -40.5}
m_AnchoredPosition: {x: -301, y: -97}
m_SizeDelta: {x: 200, y: 21}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 0, y: 0.5}
--- !u!222 &6521014379651853239
CanvasRenderer:
m_ObjectHideFlags: 0
@ -14252,6 +14446,10 @@ MonoBehaviour:
hashName: 3790165333
objectType: 1
gameObject: {fileID: 2866380408477617114}
- name: battle_ui.battle_root.map_node
hashName: 4025019357
objectType: 0
gameObject: {fileID: 7633637597024204544}
--- !u!114 &305814484176852896
MonoBehaviour:
m_ObjectHideFlags: 0

View File

@ -86,10 +86,11 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 1025633752bc248dc9665067e756f919, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: -1
speed: -100
endX: -3000
resetX: 1500
type: 1
canMove: 1
--- !u!1 &829626138664820105
GameObject:
m_ObjectHideFlags: 0
@ -176,10 +177,11 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 1025633752bc248dc9665067e756f919, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: -2
speed: -200
endX: -1440
resetX: 2880
type: 1
canMove: 1
--- !u!1 &1069759672014890975
GameObject:
m_ObjectHideFlags: 0
@ -266,10 +268,11 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 1025633752bc248dc9665067e756f919, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: -1
speed: -100
endX: -3000
resetX: 1500
type: 1
canMove: 1
--- !u!1 &1486076649183303716
GameObject:
m_ObjectHideFlags: 0
@ -356,10 +359,11 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 1025633752bc248dc9665067e756f919, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: -0.75
speed: -75
endX: -1800
resetX: 1800
type: 1
canMove: 1
--- !u!1 &3651163719033418054
GameObject:
m_ObjectHideFlags: 0
@ -446,10 +450,11 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 1025633752bc248dc9665067e756f919, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: -2
speed: -200
endX: -1440
resetX: 2880
type: 1
canMove: 1
--- !u!1 &4155359171237285238
GameObject:
m_ObjectHideFlags: 0
@ -536,10 +541,11 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 1025633752bc248dc9665067e756f919, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: -1
speed: -100
endX: -3000
resetX: 1500
type: 1
canMove: 1
--- !u!1 &4794483021711353880
GameObject:
m_ObjectHideFlags: 0
@ -672,10 +678,11 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 1025633752bc248dc9665067e756f919, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: -0.5
speed: -50
endX: -2828
resetX: 1414
type: 1
canMove: 1
--- !u!1 &5574386308499448284
GameObject:
m_ObjectHideFlags: 0
@ -762,10 +769,11 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 1025633752bc248dc9665067e756f919, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: -0.75
speed: -75
endX: -1800
resetX: 1800
type: 1
canMove: 1
--- !u!1 &5674239360881427173
GameObject:
m_ObjectHideFlags: 0
@ -852,10 +860,11 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 1025633752bc248dc9665067e756f919, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: -2
speed: -200
endX: -1440
resetX: 2880
type: 1
canMove: 1
--- !u!1 &6387967998967931729
GameObject:
m_ObjectHideFlags: 0
@ -942,7 +951,8 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 1025633752bc248dc9665067e756f919, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: -0.5
speed: -50
endX: -2828
resetX: 1414
type: 1
canMove: 1

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 011eef942a03849909c452d20afc43dc
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -4962,11 +4962,11 @@ RectTransform:
m_Father: {fileID: 798722318349559671}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 720, y: 0}
m_Pivot: {x: 0.5, y: 0}
m_SizeDelta: {x: 0, y: 1791}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4118052411785247541
CanvasRenderer:
m_ObjectHideFlags: 0