You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
716 B
23 lines
716 B
using System; |
|
using UnityEngine; |
|
|
|
namespace ET |
|
{ |
|
public class MapUnitOperationComponent: Entity, IAwake, IDestroy |
|
{ |
|
public CameraComponent CameraComp; |
|
public MapComponent MapComp; |
|
public Transform CurEditUnitRoot; |
|
public SpriteRenderer CurEditUnitSR; |
|
public Vector2Int CurEditUnitSize; |
|
public Vector2 UnitMinPos; |
|
public Vector2 UnitMaxPos; |
|
public Vector2 UnitMidPos; |
|
public bool IsTouchDown = false; |
|
public Vector2 InputPos = new Vector2(); |
|
public Vector2 MovePos = new Vector2(); |
|
public Vector3 DeltaPos = new Vector3(); |
|
public float CameraMoveSpeed = 1; |
|
public Action UnitPosUpdate; |
|
} |
|
}
|
|
|