and unity

Code Example - and unity

                
                        // The AND Symbol in Unity is &&

// if a is greater than b AND b is greater than c than
if(a > b && b > c)
{
// Do something
}
                    
                
 

unity or

                        
                                "c# 'or' is '||' and 'and' is '&&'"
                            
                        
 

Related code examples