namespace Fusion.Addons.KCC { using System; using System.Collections.Generic; using UnityEngine; // This file contains definition of KCC events. public partial class KCC { // PUBLIC MEMBERS /// /// Custom collision resolver callback. Use this to apply extra filtering. /// public Func ResolveCollision; /// /// Called when a collision with networked object starts. This callback is invoked in both fixed and render update. /// public event Action OnCollisionEnter; /// /// Called when a collision with networked object ends. This callback is invoked in both fixed and render update. /// public event Action OnCollisionExit; /// /// Callback to provide an external list of processors. For example items in inventory. /// These processors are NOT tracked by KCC and never get the OnEnter/OnExit callbacks. /// Called typically once per frame/tick. /// public Func> GetExternalProcessors; } }