[Bug] UsableAction.m_Aiming has no value written.

WeiYiHua

Member
Third Person Controller 3.0.4.

Maybe the author forgot?

Modify the OnAim method on line 260 to fix:

C#:
/// <summary>
/// The Aim ability has started or stopped.
/// </summary>
/// <param name="start">Has the Aim ability started?</param>
/// <param name="inputStart">Was the ability started from input?</param>
public void OnAim(bool aim, bool inputStart)
{
    DebugLogger.SetInfo(InfoKey_IsAiming, aim.ToString());

    m_Aiming = aim;
    InvokeOnModulesWithType(aim, inputStart, (IModuleOnAim module, bool i1, bool i2)=> module.OnAim(i1,i2));
}
 
Last edited:
Top