< Summary

Class:FollowObject
Assembly:Utils
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Helpers/Utils/FollowObject.cs
Covered lines:0
Uncovered lines:1
Coverable lines:1
Total lines:11
Line coverage:0% (0 of 1)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
LateUpdate()0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/Helpers/Utils/FollowObject.cs

#LineLine coverage
 1using System.Collections;
 2using System.Collections.Generic;
 3using UnityEngine;
 4
 5public class FollowObject : MonoBehaviour
 6{
 7    public Vector3 offset;
 8    public Transform target;
 9
 010    void LateUpdate() { transform.position = target.position + offset; }
 11}

Methods/Properties

LateUpdate()