< Summary

Class:NFTShapeConfig
Assembly:MainScripts
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Components/LoadableShapes/NFTShape/NFTShapeConfig.cs
Covered lines:0
Uncovered lines:11
Coverable lines:11
Total lines:24
Line coverage:0% (0 of 11)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
NFTShapeConfig()0%2100%
OnEnable()0%2100%
CleanUp()0%6200%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Components/LoadableShapes/NFTShape/NFTShapeConfig.cs

#LineLine coverage
 1using UnityEngine;
 2
 3public class NFTShapeConfig : ScriptableObject
 4{
 05    public float loadingMinDistance = 30;
 06    public float hqImgMinDistance = 7;
 07    public float hqImgFacingDotProdMinValue = 0.4f;
 08    public float hqImgInFrontDotProdMinValue = 0.2f;
 9
 10#if UNITY_EDITOR
 11    private void OnEnable()
 12    {
 013        Application.quitting -= CleanUp;
 014        Application.quitting += CleanUp;
 015    }
 16
 17    private void CleanUp()
 18    {
 019        Application.quitting -= CleanUp;
 020        if (UnityEditor.AssetDatabase.Contains(this))
 021            Resources.UnloadAsset(this);
 022    }
 23#endif
 24}