using UnityEngine; using UnityEngine.UI; using DG.Tweening; namespace CryingSnow.FarmingIsland { public class DockButton : MonoBehaviour { private Button button; private Image image; void Awake() { // Dynamically adds a Button component to this GameObject and gets its Image component. button = gameObject.AddComponent