I keep getting an error that says: "The type or namespace name 'Tilemaps' does not exist in the namespace 'Unity Engine'. Are you missing an assembly reference?"
Make sure that Tilemaps is included in your list of enabled built-in packages in your Package Manager (go to Windows -> Package Manager in Unity). It should be included by default with newer projects.