PlayerEmotions.onFaceLost C# (CSharp) Method

onFaceLost() public method

public onFaceLost ( float timestamp, int faceId ) : void
timestamp float
faceId int
return void
    public override void onFaceLost(float timestamp, int faceId)
    {
        fog.enableEmission = true;
        currentValence = 0;
        currentAnger = 0;
        currentSurprise = 0;
        currentSmile = 0;
        currentDisgust = 0;
        currentEyeClosure = 0;
        if (Debug.isDebugBuild) Debug.Log("Lost the face");
    }