feat(battle-engine): EffectType full enum + collection/card/vfx extension copies
Replaces partial EffectMgr.EffectType with all 226 decomp values; copies the IsNotNullOrEmpty/EquelsID/FindFromCardId/GetAllFuncVfxResults extension files + UI extensions; adds Renderer/MeshFilter shared-material/mesh/sortingOrder. Compile loop then closed the revealed deps (3242 files). 9.1k -> 18 errors.
This commit is contained in:
19
SVSim.BattleEngine/Engine/UISpriteExtension.cs
Normal file
19
SVSim.BattleEngine/Engine/UISpriteExtension.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
public static class UISpriteExtension
|
||||
{
|
||||
public static void CopySpriteParameters(this UISprite dst, UISprite src)
|
||||
{
|
||||
dst.type = src.type;
|
||||
dst.flip = src.flip;
|
||||
dst.border = src.border;
|
||||
dst.centerType = src.centerType;
|
||||
dst.fillDirection = src.fillDirection;
|
||||
dst.fillAmount = src.fillAmount;
|
||||
dst.invert = src.invert;
|
||||
dst.leftType = src.leftType;
|
||||
dst.rightType = src.rightType;
|
||||
dst.topType = src.topType;
|
||||
dst.bottomType = src.bottomType;
|
||||
dst.atlas = src.atlas;
|
||||
dst.spriteName = src.spriteName;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user