Answered step by step
Verified Expert Solution
Question
1 Approved Answer
At the class level define a public static float to track the remaining power ( such as what was done for the number of medicine
At the class level define a public static float to track the remaining power such as what was done for the number of medicine boxes dropped set it at to begin with and then recompute this in the power consumption method you create.Create a method in the DroneDataDisplay Class to show the percentage of remaining power text format is fine. This can be where the calculation is performed too.Add a text UI in the Drone Data Panel called Battery Power.Dont forget to drag and drop the Battery Power text UI in the correct slot in Drone Data Display script component in the Inspector Panel.
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