Error show upon importing Tactical AI into the project:
Tactical AI\Csharp\Damage Scripts\HitBox.cs(33,13): error CS0234: The type or namespace name 'ImpactEvent' does not exist in the namespace 'Opsive.UltimateCharacterController' (are you missing an assembly reference?)
Sorry if the problem is easy to fix, i don't know anything about coding. Here's the error code:
#if FIRST_PERSON_CONTROLLER && ULTIMATE_CHARACTER_CONTROLLER_SHOOTER
Opsive.UltimateCharacterController.Events.EventHandler.RegisterEvent<float, Vector3, Vector3, GameObject, object, Collider>(gameObject, "OnObjectImpact", OnImpact);
#endif
Tactical AI\Csharp\Damage Scripts\HitBox.cs(33,13): error CS0234: The type or namespace name 'ImpactEvent' does not exist in the namespace 'Opsive.UltimateCharacterController' (are you missing an assembly reference?)
Sorry if the problem is easy to fix, i don't know anything about coding. Here's the error code:
#if FIRST_PERSON_CONTROLLER && ULTIMATE_CHARACTER_CONTROLLER_SHOOTER
Opsive.UltimateCharacterController.Events.EventHandler.RegisterEvent<float, Vector3, Vector3, GameObject, object, Collider>(gameObject, "OnObjectImpact", OnImpact);
#endif
Last edited: