Answered step by step
Verified Expert Solution
Question
1 Approved Answer
i needvthe output using System.Collections; using System.Collections. Generic; using UnityEngine; public class MouseMove : MonoBehaviour { // Use this for initialization void Start () {
i needvthe output
using System.Collections; using System.Collections. Generic; using UnityEngine; public class MouseMove : MonoBehaviour \{ // Use this for initialization void Start () \{ \} // Update is called once per frame void Update () \{ if (Input.GetMouseButtonDown(0)) Debug.Log("Pressed left click."); if (Input.GetMouseButtonDown(1)) Debug.Log("Pressed right click."); if (Input.GetMouseButtonDown(2)) Debug.Log("Pressed middle click."); GameObject. Find("Plane").transform.position = Input.mousePosition; using System.Collections; using System.Collections.Generic; using UnityEngine; public class LightEna : MonoBehaviour \{ // Use this for initialization void Start () GetComponent().enabled = true; GetComponent().type = LightType. Spot; I/ Update is called once per frame void Update () \{ \} using System.Collections; using System.Collections. Generic; using UnityEngine; public class MouseMove : MonoBehaviour \{ // Use this for initialization void Start () \{ \} // Update is called once per frame void Update () \{ if (Input.GetMouseButtonDown(0)) Debug.Log("Pressed left click."); if (Input.GetMouseButtonDown(1)) Debug.Log("Pressed right click."); if (Input.GetMouseButtonDown(2)) Debug.Log("Pressed middle click."); GameObject. Find("Plane").transform.position = Input.mousePosition; using System.Collections; using System.Collections.Generic; using UnityEngine; public class LightEna : MonoBehaviour \{ // Use this for initialization void Start () GetComponent().enabled = true; GetComponent().type = LightType. Spot; I/ Update is called once per frame void Update () \{ \} Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started