Answers for "c# how to check if a array bool is all true"

C#
0

c# how to check if a array bool is all true

private bool IsAllMissionComplete() {
     for ( int i = 0; i < MissionList.Length; ++i ) {
         if ( MissionList[ i ].isComplete == false ) {
           return false;
         }
     }
 
     return true;
 }

//raadgames
Posted by: Guest on June-24-2021

Code answers related to "c# how to check if a array bool is all true"

C# Answers by Framework

Browse Popular Code Answers by Language