Add behavior logic to your character
Getting a reference to the actor
using UnityEngine;
using Lightbug.CharacterControllerPro.Core; //<-- Required
public class CharacterLogic: Monobehaviour
{
[SerializeField]
CharacterActor characterActor = null;
}
Update message
using UnityEngine;
using Lightbug.CharacterControllerPro.Core; //<-- Required
public class CharacterLogic: Monobehaviour
{
[SerializeField]
CharacterActor characterActor = null;
void FixedUpdate()
{
// Put the logic here ...
}
}Execution order
Last updated