< Summary

Class:StickerAnimationListener
Assembly:MainScripts
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/StickersController/StickerAnimationListener.cs
Covered lines:0
Uncovered lines:2
Coverable lines:2
Total lines:11
Line coverage:0% (0 of 2)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
Awake()0%2100%
PlaySticker(...)0%6200%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/StickersController/StickerAnimationListener.cs

#LineLine coverage
 1using UnityEngine;
 2
 3public class StickerAnimationListener : MonoBehaviour
 4{
 5    private StickersController stickersController;
 6
 07    private void Awake() { stickersController = GetComponentInParent<StickersController>(); }
 8
 9    //It's going to be called through an AnimationEvent
 010    private void PlaySticker(string id) { stickersController?.PlayEmote(id); }
 11}

Methods/Properties

Awake()
PlaySticker(System.String)