Skip to main content

Introduction to C# in Unity3D #6: Operators – Part 1 📠

By February 8, 2021February 11th, 2021No Comments
C# Unity3D Operators
📠 Operators are used to carry out operations on operands. Operands are values or variables on whom an operation is carried out on.
📠 For example 2 + 10
📠Arithmetic operators: addition, subtractions, multiplication, division and modulo
📠The modulo operator returns the remainder of a division operation e.g 5 % 2 is 1
📠The assignment operator is denoted by the equal to = sign and will assign a value to a variable.
📠 other assignment operators: addition assignment, subtraction assignment, multiplication assignment, division assignment and modulo assignment

Leave a Reply