Teaching Newbies since 2014

kauress

  • Home
  • Javascript ❤
    • JavaScript
    • Node.js
  • WebDev Tuts
  • screencasts
  • Resources
  • VR & AR
  • Contact
  • Github
  • Twitter
  • YouTube
  • RSS
  • C++
You are here: Home / Unity3D / Introduction to C# in Unity3D #7: Operators – Part 2 📠

February 9, 2021 by: Kauress

Introduction to C# in Unity3D #7: Operators – Part 2 📠

📠Comparison operators
📠A comparison operator compares two values.📠 <, >, <= , >=

📠Logical Operators
📠Logical operators are used in decision making and loops. Logical operators perform logical operation such as `And`, `Or` and `Not`. These operators evaluate expressions and return boolean values.
📠And
The logical And( &&) operator returns true if both operands evaluate to the boolean true
📠Or
If one of the two operands is true then the expression evaluates to true using the Or || operator
📠Not
The Not ! operator evaluates an expression and inverses the boolean result

Introduction to C# in Unity3D #6: Operators – Part 1 📠
Shady run by “IIT” coding bootcamps

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Copyright © 2021 ·Kauress