迭代拼装玩法与素材
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
using Definition.Enum;
|
||||
using System.Collections.Generic;
|
||||
using CustomComponent;
|
||||
using UI;
|
||||
using UnityEngine;
|
||||
using ProcedureOwner = GameFramework.Fsm.IFsm<GameFramework.Procedure.IProcedureManager>;
|
||||
|
||||
namespace Procedure
|
||||
@@ -75,84 +72,5 @@ namespace Procedure
|
||||
|
||||
#endregion
|
||||
|
||||
#region Other Methods
|
||||
|
||||
/// <summary>
|
||||
/// 构建测试用关卡上下文(槽位、部件与自动开始配置)。
|
||||
/// </summary>
|
||||
private static CombineFormContext BuildTestOpenData()
|
||||
{
|
||||
List<CombineSlotContext> slots = new List<CombineSlotContext>
|
||||
{
|
||||
new CombineSlotContext
|
||||
{
|
||||
RequiredPartType = CombinePartType.Dou,
|
||||
BuildOrder = 0,
|
||||
RequireStrictOrder = true,
|
||||
AnchoredPosition = new Vector2(-320f, -160f),
|
||||
SizeDelta = new Vector2(120f, 120f),
|
||||
MechanicsExplanation = "Dou transfers upper load and works as the base node."
|
||||
},
|
||||
new CombineSlotContext
|
||||
{
|
||||
RequiredPartType = CombinePartType.Sheng,
|
||||
BuildOrder = 1,
|
||||
RequireStrictOrder = true,
|
||||
AnchoredPosition = new Vector2(-320f, -20f),
|
||||
SizeDelta = new Vector2(120f, 120f),
|
||||
MechanicsExplanation = "Sheng raises layer height to form the bracket hierarchy."
|
||||
},
|
||||
new CombineSlotContext
|
||||
{
|
||||
RequiredPartType = CombinePartType.Gong,
|
||||
BuildOrder = 2,
|
||||
RequireStrictOrder = true,
|
||||
AnchoredPosition = new Vector2(-320f, 120f),
|
||||
SizeDelta = new Vector2(120f, 120f),
|
||||
MechanicsExplanation = "Gong spreads force laterally through overhang."
|
||||
},
|
||||
new CombineSlotContext
|
||||
{
|
||||
RequiredPartType = CombinePartType.Qiao,
|
||||
BuildOrder = 3,
|
||||
RequireStrictOrder = true,
|
||||
AnchoredPosition = new Vector2(-160f, 120f),
|
||||
SizeDelta = new Vector2(120f, 120f),
|
||||
MechanicsExplanation = "Qiao continues force transfer to the outer side."
|
||||
},
|
||||
new CombineSlotContext
|
||||
{
|
||||
RequiredPartType = CombinePartType.Ang,
|
||||
BuildOrder = 4,
|
||||
RequireStrictOrder = true,
|
||||
AnchoredPosition = new Vector2(0f, 120f),
|
||||
SizeDelta = new Vector2(120f, 120f),
|
||||
MechanicsExplanation = "Ang uses leverage to redirect eave load inward."
|
||||
}
|
||||
};
|
||||
|
||||
List<CombinePartContext> parts = new List<CombinePartContext>
|
||||
{
|
||||
new CombinePartContext
|
||||
{ PartType = CombinePartType.Dou, PartDisplayName = "Dou", LockAfterPlaced = true },
|
||||
new CombinePartContext
|
||||
{ PartType = CombinePartType.Sheng, PartDisplayName = "Sheng", LockAfterPlaced = true },
|
||||
new CombinePartContext
|
||||
{ PartType = CombinePartType.Gong, PartDisplayName = "Gong", LockAfterPlaced = true },
|
||||
new CombinePartContext
|
||||
{ PartType = CombinePartType.Qiao, PartDisplayName = "Qiao", LockAfterPlaced = true },
|
||||
new CombinePartContext
|
||||
{ PartType = CombinePartType.Ang, PartDisplayName = "Ang", LockAfterPlaced = true }
|
||||
};
|
||||
|
||||
return new CombineFormContext
|
||||
{
|
||||
Slots = slots,
|
||||
Parts = parts,
|
||||
AutoStart = true
|
||||
};
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user