Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i need help in c# code for Unity 4 Answer the following aiven the following 2D game, which has middle called Squall black square in

i need help in c# code for Unity image text in transcribed
4 Answer the following aiven the following 2D game, which has middle called Squall black square in the Answer the following assuming the game is built using Unity game Engine and everything has been set up correctly, a) Suppose we attached the next script to the small black square. Explain the game behavior/output after. b) Name a Unity Component that walls must have beside Transform to make the game work. c) Suppose the game did not work after that. Name two things that you will check or expect to be the problems using Systen. Collections; using Systen.Collections. Generic; using UnityEngine; public class Question : MonoBehaviour i private Ganeobject target; private float step =10f; yoid start() i target = GaneObject.Find("Square"); ) void Update ( ) i Vector2 f= new Vector2(step, of); target. GetComponent 20>0. velocity = , void OnColtisionEnter 20 (Collision 20 othe i step = step 1; H)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Time Series Databases New Ways To Store And Access Data

Authors: Ted Dunning, Ellen Friedman

1st Edition

1491914726, 978-1491914724

More Books

Students also viewed these Databases questions

Question

Discuss five types of employee training.

Answered: 1 week ago

Question

Identify the four federally mandated employee benefits.

Answered: 1 week ago