- Download
EulerianSDK.unitypackage
. - In your Unity project, import custom package in
Assets/
.
- Keep all files checked and click "Import".
- Import Eulerian in your script file:
using eulerian;
- Initialize the SDK. Consider using the Awake function from Unity's Monobehavior class as a starting place:
private void Awake()
{
Eulerian.Init("your-domain");
}
- Begin tracking
EAProperties
:
EAProperties prop = new EAProperties("plane/enter");
Eulerian.Track(prop);
From the project’s root folder, run /Applications/Unity/Unity.app/Contents/MacOS/Unity -quit -batchmode -projectPath /. -exportPackage Assets/Eulerian EulerianSDK.unitypackage -logfile Build/UnityPackageExport.log
.