@@ -10,7 +10,7 @@ namespace ET
for (int i = 0; i < room2CBattleStart.UnitInfo.Count; ++i)
{
LockStepUnitInfo unitInfo = room2CBattleStart.UnitInfo[i];
- UnitFFactory.Init(self.LSWorld, unitInfo);
+ LSUnitFactory.Init(self.LSWorld, unitInfo);
}
@@ -1,6 +1,6 @@
namespace ET
- public static class UnitFFactory
+ public static class LSUnitFactory
public static LSUnit Init(LSWorld lsWorld, LockStepUnitInfo unitInfo)
@@ -25,7 +25,7 @@ namespace ET.Client
Vector3 pos = child.Transform.position;
Vector3 to = unit.Position.ToVector();
- float t = (to - pos).magnitude / 6f;
+ float t = (to - pos).magnitude / 9f;
child.Transform.position = Vector3.Lerp(pos, unit.Position.ToVector(), Time.deltaTime / t);
@@ -1,7 +0,0 @@
-namespace ET
-{
- [ComponentOf(typeof(BattleScene))]
- public class UnitFViewComponent: Entity, IAwake, IDestroy
- {
- }
-}
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 3889609216ea34aa1942d81632124ae4
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant: