Home - cleveradssolutions/CAS-Unreal GitHub Wiki
Prerequisites | |
---|---|
Unreal Engine | 4.27.2+ |
Add the Plugin to Your Project
- Open Project root directory.
- Create
Plugins
folder at the same level as the standardSource
folder. - Download latest Source code(zip) and unpack archive to the
Plugins
directory.
You can also simply clone the git plugin repository into the Plugins directory.
You can also find precompiled (with binaries) CAS.AI plugin packages in the list of assets attached to the GitHub release. Please note that these packages are built only for specific versions of Unreal Engine and cannot be used with other versions.
Check your project structure after adding the uplugin
:
UnrealProjectRoot
βββ Content
βββ Plugins
β βββ CAS-Unreal
β β βββ CleverAdsSolutions.uplugin
βββ Source
Import the Plugin into Unreal
To use the CAS Unreal Plugin from C++ scripts, you need add CleverAdsSolutions
module as a dependency to the PublicDependencyModuleNames
array inside of your appβs <PROJECTNAME>.Build.cs
file:
PublicDependencyModuleNames.Add("CleverAdsSolutions");
Project structure for Windows machine
When building an application on a Windows machine, it is crucial to ensure that your project folder is located on the same drive as the Unreal Engine installation directory. (e.g., both on C:
or both on D:
)
Unreal Engine relies on specific paths and directories during the build process. If the project and Unreal Engine are located on different drives, it may cause path resolution problems, leading to potential build failures or incorrect behavior.
π Done! Whatβs Next?