🛠️Custom Integrations
Here, you will learn how to make your own integrations.
This page is for you to learn how to integrate Universal AI with your controller.
Damage Your Player
Go to HERE and do the how-to damage your player part first.
Open the UniversalAIDamageReceiver.cs script and we will edit it.
Go to the TakeDamage(float damage) void and start writing your code like below to an empty space.
Damage your AI
Open your code that handles weapon damages script and we will edit it.
So, if you are using raycast to make damage read this part.
Go to the void you are using raycast and add these lines: (Example)
And now all should work and your raycast should hit/damage the AI !!
Last updated