I'm working on the Unity project now and have an error message in VSCode.
'Transform' does not contain a definition for 'DOMove' and the best extension method overload 'DOTweenModulePhysics2D.DOMove(Rigidbody2D, Vector2, float, bool)' requires a receiver of type 'Rigidbody2D'
using DG.Tweening;
using UnityEngine;
public class Mover : MonoBehaviour
{
void Start()
{
this.gameObject.transform.DOMove(new Vector3(1,2,3), 1);
}
}
When I type DOMove in VSCode, the auto-completion for that method does not show up. I tried moving the Demigiant folder from plugins into the main asset directory then moved it back and restarted Unity, but I still get the same error...