1234567891011121314151617181920212223242526272829 |
- using System.Collections.Generic;
- using System.Linq;
- using UnityEngine;
- public class DrawTarget : DrawShape
- {
- private RectTransform rectTransform_;
- private void Awake()
- {
- rectTransform_ = GetComponent<RectTransform>();
- }
- public override void StartDraw(Vector2 position)
- {
- }
- public override void StopDraw(Vector2 position)
- {
- }
- public override void UpdateShape(Vector2 newPosition)
- {
- rectTransform_.position = newPosition;
- }
- public override void Clear()
- {
- }
- }
|