Hi
I don't know if i skip a step in installation but i have this error.
I don't use any of this task error in Behavior Designer yet
For my script OnHitBullet i have this
This is the installation
Unity 2020.3.5 LTS (may be this is the problem?)
Opsive UCC 2.3.1
Opsive Behavior Designer 1.6.8
Integration Behavior Designer + UCC. I dont know what version but I download today.
MacOS Big Sur 11.2.3
I don't know if i skip a step in installation but i have this error.
I don't use any of this task error in Behavior Designer yet
For my script OnHitBullet i have this
C#:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Opsive.UltimateCharacterController.Traits;
public class OnHitBullet : MonoBehaviour
{
[Tooltip("The character that has the health component.")]
[SerializeField] protected GameObject m_Character;
private void OnTriggerEnter(Collider other) {
if(other.gameObject.CompareTag("Player")){
var health = other.gameObject.GetComponent<Health>();
// Cause 10 damage to the character.
health.Damage(10);
Destroy (gameObject);
}
}
}
This is the installation
Unity 2020.3.5 LTS (may be this is the problem?)
Opsive UCC 2.3.1
Opsive Behavior Designer 1.6.8
Integration Behavior Designer + UCC. I dont know what version but I download today.
MacOS Big Sur 11.2.3