< Summary

Class:BIWFirstPersonDynamicVariables
Assembly:BIWScriptableObjectDefinition
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/BuilderInWorld/Scripts/ScriptableObjects/BuildModes/BIWFirstPersonDynamicVariables.cs
Covered lines:8
Uncovered lines:0
Coverable lines:8
Total lines:22
Line coverage:100% (8 of 8)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
BIWFirstPersonDynamicVariables()0%110100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLPlugins/BuilderInWorld/Scripts/ScriptableObjects/BuildModes/BIWFirstPersonDynamicVariables.cs

#LineLine coverage
 1using System.Collections;
 2using System.Collections.Generic;
 3using UnityEngine;
 4
 5[CreateAssetMenu(fileName = "FirstPersonModeDynamicVariable", menuName = "BuilderInWorld/DynamicVariables/FirstPerson")]
 6public class BIWFirstPersonDynamicVariables : ScriptableObject
 7{
 18    public float maxDistanceToSelectEntities = 50;
 9
 10    [Header("Snap variables")]
 111    public float snapFactor = 1f;
 12
 113    public float snapRotationDegresFactor = 15f;
 114    public float snapScaleFactor = 0.5f;
 15
 116    public float snapDistanceToActivateMovement = 10f;
 17
 18    [Header("Editor Design")]
 119    public float scaleSpeed = 0.25f;
 120    public float rotationSpeed = 0.5f;
 121    public float distanceFromCameraForNewEntitties = 5;
 22}