LinkedIn Unity Skill Assessment Answers (2024)

The LinkedIn Skill Assessments feature allows you to demonstrate your knowledge of the skills you’ve added on your profile. Job posters on LinkedIn can also add Skill Assessments as part of the job application process. This allows job posters to more efficiently and accurately verify the crucial skills a candidate should have for a role.

The topics in the Unity assessment include:

  • Asset Management
  • Gameplay Programming
  • C# Scripting
  • General
  • Animation
  • Interface
  • 2D
  • Physics
  • Level Design
  • Mobile Development
  • Audio
  • Lighting

Question Format
Multiple Choice

Language
English

Table of Contents


LinkedIn Unity Skill Assessment Answers

What can you use to visually distinguish between Play mode and Design mode in the editor?

  • The object inspector
  • Handles
  • Gizmos
  • Play mode tint

A developer executes the C# code below, which finds any game objects tagged as “enemy” in a start event. But the developer notices that, when executed, FindGameObjectsWithTag returns NULL even though the scene contains objects tagged as “Enemy”. What is a possible cause?

GameObject[] MyEnemies = GameObject.FindGameObjectsWithTag(“Enemy”);

  • The objects are animated
  • The objects are on the UI layer
  • The objects are not named “Enemy”
  • The objects are deactivated

What does this code sample achieve? Float Answer = Random.value * 10f;

  • It selects a random number that is less than 10
  • It selects a random number greater than 10
  • It selects a random number between 0 and 10
  • It selects a random number that is multiple of 10

Unity scenes may be saved entirely in the YAML format. Why might you do this?

  • To reduce scene file size
  • To externally parse a scene and its objects
  • To optimize scene loading and unloading
  • To improve platform compatibility

Orthographic cameras remove which visual effect?

  • Gamma color space
  • Depth of field
  • Foreshortening
  • Bloom

What is Cinemachine Virtual Camera used for?

  • To override standard scene cameras with cinematic behaviours
  • To determine what cameras will see when arriving at specific locations
  • To create predefined camera presets to apply on standard cameras
  • To act as dummy cameras for fooling meshes into thinking they are being seen

What does the Microphone class save captured audio data as?

  • An audio clip asset
  • An MP3 file
  • A WAV file
  • An OGG file

Cinemachine offers tools for building gameplay behaviours. Which component makes spline based paths for moving objects?

  • Cinemachine Target Group
  • Cinemachine Smooth Path
  • Cinemachine Free Look
  • Cinemachine Brain

When building assets like meshes for Unity. It is good practice to use which measurement unit?

  • Cubits
  • Feet
  • Inches
  • Meters

The Collaborate feature of Unity Teams empowers whom to do what?

  • Developers to contribute to the unity source code
  • Companies to raise money for projects through crowdfunding
  • Team members to save, share, and sync unity projects
  • Developers to integrate version control systems, like git, into projects

The Clear Flags property of the Camera components affects which behaviour?

  • How the camera renders UI objects on top of the scene
  • How the camera renders transparent objects by default
  • How the camera renders its background on each frame
  • How the camera occludes background objects

What is the OnAnimatorMove event on MonoBehaviour objects commonly used for?

  • Detecting when an object moves
  • Updating a navigation agent in response to keyframe data
  • Replaying an animation when it has completed
  • Modifying the root motion of an animated object

Which MonoBehaviour method runs by default in Editor mode?

  • OnBecameInvisible
  • OnAnimatorMove
  • Reset
  • OnTriggerEnter

For the OnTriggerEnter function to invoke successfully on a collision between two objects, at least one must have which two components?

  • A Collider and a MeshRenderer
  • A Collider and a MeshFilter
  • A Rigidbody and a Collider
  • A MeshRenderer and a MeshFilter

UI elements, such as images and buttons, may be fixed at specific screen positions to build responsive interfaces. Which Unity features help achieve this?

  • Events and raycasts
  • Quaternions and Euler angles
  • Opacity and transparency
  • Anchors and pivots

The occlusion map of a material is often a grayscale image with pixels ranging between black and white. What does this map contribute to an object’s material?

  • White pixels reveal the detail map and black pixels reveal none
  • White pixels allow emission and black pixels allow none
  • White pixels receive shadows and black pixels receive none
  • White pixels receive full indirect illumination and black pixels receive none

What can you use to organize different game objects into groups inside the Hierarchy panel?

  • Canvas objects
  • Event systems
  • Empty objects
  • Mesh renderers

The Project windows search box can filter the display of assets with text commands. Which command displays only texture assets?

  • T:mesh
  • T:texture
  • T:mesh
  • Show textures

A bullet game object is fired from a weapon and travels quickly through the scene using a RigidBody component. It sometimes passes through solid objects even though they have colliders. What is a reasonable strategy for correcting this?

  • Expand the collider size of all scene objects and the bullets to detect collisions with better time
  • Increase the Fixed Time Step value from the Project Settings dialog to change the frequency of the FixedUpdate event
  • Change the Collision Detection property of the Rigidbody to Continuous Dynamic or Continous Speculative
  • Enable the IsKinematic property of the Rigidbody

Some material types may include normal map textures. What does a normal map achieve?

  • It programmatically reduced the polycount of your meshes.
  • It displaces mesh geometry with extrusion and bevels to generate higher-poly versions.
  • It creates the appearance of surface detail on mesh – like bumps, dents, and scratches
  • It is a level-of-detail system that progressively reduces a mesh’s polygons as a scene camera moves farther away from it

A SkinnedMeshRenderer component is attached automatically by Unity to some mesh objects when they are added to a scene. Which reason best explains why?

  • The mesh file contains bones and rig data
  • The game object also features an animator component
  • The game object is a Player-Controlled character
  • The mesh file contains a humanoid character

Which C# attribute can show a private variable in the object inspector?

  • Range
  • HideInInspector
  • Serializable
  • SerializedField

What is a technique for optimizing Unity UI elements?

  • Group static UI elements on one canvas, and dynamic elements on a separate canvas
  • Position all canvas objects to the world origin
  • Group as many UI elements as possible onto only one canvas
  • Divide the screen into multiple canvas objects, each sized to a quarter of the screen size

What does the C# Space attribute used below achieved?
[Space(20)]
Public string PlayerName;

  • It inserts 20 space characters as a default value into the string variable below
  • It inserts 20 pixels of margin on all edges around the variable inside the Object Inspector
  • It inserts 20 pixels of empty space above the variable inside the Object Inspector
  • It inserts 20 pixels of empty space below the variable inside the Object Inspector

Every time you double-click a C# script file from the Project window, Unity prints the message below (or something very similar) to the console. What is a reasonable step in trying to solve this? Cannot start process because a file name has not been provided.

  • Search the Project windows for all script files and then rename all of them
  • Set Visual Studio as the code default editor via the External Tools tab of the Preferences menu
  • Ensure you have specified a Play mode tint color from the Colors tab of the Preferences menu
  • Select the Script file, and then select Assets > Find references in Scene from the Application menu

What is the Console windows useful for?

  • Viewing and editing text files
  • Downloading data packets and asset packages
  • Typing and executing command line instructions through a shell interface
  • Identifying errors in your script files and project

Sprite atlas assets, large textures containing many smaller sprites, can be optimized by batching together what?

  • Sprites that are non animated
  • Sprites that appear together in game
  • Sprites using the same color palette
  • Sprites of the same dimensions

You are making a game where you need to execute your own functions in response to critical animation events for a rigged character. Specifically, there are two events you must handle: when an animation state is entered and when it is exited in the Animator graph. Which class may be used to invoke your code when those two events happen?

  • AnimatorClipInfo
  • StateMachineBehaviour
  • AnimationInfo
  • AnimatorUtility

How can you change the unique bundle identifier for a mobile build?

  • Select Assets > import Package, and then import the Cross-Platform Input Asset Package
  • Select Windows > Asset Management > Version Control, and then enter an identifier in the Source field
  • Select File > Build Settings. Then from the Build dialog box, select Android or iOS, and select the Bundle Identifier from the Compression Method drop down menu.
  • Select Edit > Project Settings > Player from the menu, and then expand the Other Settings tab

Rigidbody components may be added to objects with colliders to make them affected by physical forces. What does the IsKinematic property achieve?

  • It removes gravity from an object but retains all other forces
  • It removes all physical forces from the object, except gravity
  • It converts the object into physical forces that affect other objects
  • It suspends physical forces on the object, allowing manual transofrmations

The primary directional light in a scene is linked by default to a procedural scene Skybox. What does the rotation of this light control?

  • The orientation of the Skybox
  • The night and day status of the skybox
  • The acoustics of all audio sources
  • The resolution of the skybox

You can combine quaternions together through which arithmetic operation?

  • Multiplication
  • Division
  • Addition
  • Subtraction

Which feature generates binary tree data to optimize camera rendering in a scene?

  • Render textures
  • Navigation mesh
  • Profiler
  • Occlusion Culling

How does the Range C# attribute control the interaction behavior of numerical variables in the Object Inspector?

  • It restricts the variable value using a slider widget
  • It validates the variable values through a text box widget
  • It restricts the variable values using a color picker widget
  • It presents valid options in a drop down list

What does this code fragment do when attached to a rigged character?

public Animator avatar;
public Transform lookAtObj;
void OnAnimatorIK(int layerIndex)
{
avatar.SetLookAtPosition(lookAtObj).position;
avatar.SetLookAtWeight(If);
}

  • It blends the characters head animation with a second predefined animation
  • It makes the characters head face toward the specified target
  • It returns the characters head back to a neutral position
  • It makes a game object face toward the characters head

The variable Transform.forward is a Vector3 measured in what?

  • Local space
  • Innerspace
  • Normal space
  • World space

De-lighting is associated with which technology?

  • Virtual reality
  • Augmented reality
  • Motion capture
  • Photogrammetry

Humanoid character assets, like NPCs and the player character, feature on Avatar object. Which statement best describes its purpose?

  • Avatars define parameter sets for facial muscle blendshapes
  • Avatar facilitate animation retargeting across different humanoid characters
  • Avatar define IK data for animated characters
  • Avatars describe how textures map on deforming objects during animation

You can perfectly align two mesh objects together at the vertices by using vertex snapping. How do you best access this tool?
Vertex

  • Select a mesh object and press the W key over the destination vertex
  • While holding down the C key, click and drag from the source to the destination mesh
  • Select Edit > Enable Vertex Snap from the menu, and then select your object
  • While holding down the V key, click and drag your object from a corner vertex to its destination

Which statement best descibes the function Quaternion.Euler?

  • It prints a Quaternion to a string that shows its X, Y, and Z rotation in degrees
  • It converts a 3D orientation from Radiens to a Quaternion
  • It converts a 3D orientation that is measured in degrees into a Quaternion
  • It converts a Quaternion into a Vector3 in which X, Y, and Z are measured in degrees

What does the Destroy function do?

  • It deactivates the specified game object immidiately
  • It deletes the specified game object after the current update loop
  • It deletes the specified game object when the application terminates
  • It deletes the specified game object immidaitely

You can programmatically control audio effects, like Pitch and Reverb, from C# scripts using which feature of an Audio Mixer asset?

  • audio attenuation
  • exposed parameters
  • ParamEQ
  • Audio Mixer groups

Multiple animations may be mixed together on a single character, selectively on different limbs. Which Mecanim feature supports this?

  • Mip Maps
  • avatar masks
  • StateMachineBehaviour scripts
  • animation events

What does the PlayableDirector component allow you to do?

  • run multiple functions on different game objects in parallel
  • switch between different scene cameras on demand
  • control the playback of a timeline instance in the scene
  • record a gameplay session to a video file

What does the Grid component do?

  • generate a grid sprite at world origin
  • helps you move objects to fixed grid increments
  • reders and isometric grid in the scene during gameplay
  • generates a grid mesh at the world origin

Timeline sequences can initiate code during an animation using which feature?

  • EventSystem
  • markers
  • signals
  • packets

Which code sample uses C# properties for creating the health functionality?

  • A
    public class Health : MonoBehavior
    {
    private float HealthPoints = 100f;

    public float GetHealth()
    {
    return HealthPoints;
    }

    public void SetHealth(float Change)
    {
    HealthPoints += Change;

    if (HealthPoints <= 0)
    Destroy(gameObject);
    }
    }
  • B
    public class Health : MonoBehavior
    {
    public UnityEvent OnHealthChanged;
    private float HealthPoints = 100f;
    public void SetHealth(float Change)
    {
    HealthPoints += Change;
    OnHealthChanged.Invoke();
    }
    public void Die()
    {
    Destroy(gameObject);
    }
    }
  • C
    public class Health : MonoBehavior
    {
    public float HealthPoints
    {
    get { return _healthpoints; }
    set
    {
    _healthpoints = value;
    if(_healthpoints <= 0 )
    {
    Destroy(gameObjects);
    }
    }
    }
    private float _healthpoints = 100f;
    }

  • D
    public class Health : MonoBehaviour
    {
    public float HealthPoints = 100f;

    private void Update()
    {
    if (HealthPoints <- 0)
    Destroy(gameObject);
    }
    }

Which statement is not true?

  • Coroutines will continue running on deactivated objects
  • All component scripts inherit from MonoBehaviour
  • Only humanoid characters feature bones
  • The Update function is never called automatically while an object is deactivated

When is the Reset method of MonoBehaviour invoked automatially?

  • When a game object moves from one scene to another
  • When adding a component to an object or resetting its values in Edit mode
  • When a scene begins or is restarted
  • When the scene begins or restarts for a deactivated game object

Which C# attribute allows a class and its methods to run inside the editor during Edit mode?

  • [Range(0,10)]
  • [Live]
  • [RunInEditor]
  • [ExecuteAlways]

The IsPointerOverGameObject static function of the EventSystem class is useful for creating which behaviour?

  • moving UI elements in sync with the cursor as it drags across the screen
  • changing the highlight of buttons as the cursor moves over them
  • preventing mouse clicks on game objects behind the UI canvas <- i believe this is the correct answer but supervision would be helpful
  • identifying which 3D object the cursor is hovering over

Which C# code fragment continuously updates an object’s yaw (Y rotation)?

  • c# transform.localRotation *= Quaternion.Euler(0f, RotSpeed * Time.deltaTime, 0f);
  • c# transform.Rotate(Vector3.right, RotSpeed * Time.deltaTime);
  • c# transform.RotateAround(Vector3.up, RotSpeed * Time.deltaTime);
  • c# transform.SetParent(null);

Leave a Reply