When I try to import mathematics it throws me an error saying that

_

‘’ error CS0234: The type or namespace name ‘Mathematics’ does not exist in the namespace ‘Unity’ (are you missing an assembly reference?)‘’.

’

_

I tried, Using System.Mathematics, Using Unity.Mathematics I also tried by typing Math instead of Mathematics. Idk why this is throwing an error,

I use Notepad++ for scripting.

You need to install the Mathematics package in the package manager first (Window > Package manager).

If you have Mathematics showing in the package manager but still get the error, remove the package and install again from git “com.unity.mathematics”

Hi @famestar1236, `using UnityEngine;`

is all you need to access the `Mathf`

library - no need to explicitly import it. There isn’t any ‘mathematics’ library, so I’m not sure what you are trying to do with that…