private void Start() { if (_image.enabled) { itemInSlot = true; } followCursor = cursorObj.GetComponent <FollowCursor>(); }
public void AddFollowCursorComponent() { if (this.followCursorComponent == null) { this.followCursorComponent = new FollowCursor(transform, layerMask); } DragPlaceable(); }