< Summary

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

Metrics

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

File(s)

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

#LineLine coverage
 1using System.Collections;
 2using System.Collections.Generic;
 3using UnityEngine;
 4
 5[CreateAssetMenu(fileName = "GodModeDynamicVariable", menuName = "BuilderInWorld/DynamicVariables/GodMode")]
 6public class BIWGodModeDynamicVariables : 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 initialEagleCameraHeight = 10f;
 120    public float initialEagleCameraDistance = 10f;
 21    public float initialEagleCameraLookAtHeight = 0f;
 22
 23    public LayerMask layerToStopClick;
 124    public float snapDragFactor = 5f;
 25
 26}

Methods/Properties

BIWGodModeDynamicVariables()