- Home /
 
               Question by 
               Felixbaum1 · Aug 14, 2020 at 02:19 PM · 
                mathcalculationpercentage  
              
 
              How can I dynamically change the percentage value so that it always adds up to 100%?
My example:
If i had 100 objects then the percentage foreach would be 0.01f, but how do i change that dynamically while the game is running, if for example a few objects whould be destroyed there would be a new percentage foreach object.
In short: How do i change that value dynamically?
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by TomArano_Dimenco · Aug 14, 2020 at 02:25 PM
 1/totalobjects = % value per object
not sure what the question is, seems like a simple awnser
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                