What is a UnityEvent? A UnityEvent is Unity’s built-in event system which allows you to subscribe to events right in the editor. The Unity UI system commonly uses them for example when a button is pressed: How do I use a UnityEvent in my code? All you need to do, is create a public UnityEvent…… Continue reading Unity – UnityEvent
Tag: Computer Science
Binary Numbers 1 – Binary Quiz – Plymouth University
Binary Numbers Quiz 1) The answer is D – 11110 1 1 1 1 0 16 + 8 + 4 + 2 = 30 2) The answer is B – 3.375 1 0 . 0 1 1 2 + 0.25 + 0.125 3.375 3) The answer is C – 11000 1011 + 1101 = —-…… Continue reading Binary Numbers 1 – Binary Quiz – Plymouth University
Binary Numbers 1 – Section 2 (Binary Addition)- Plymouth University
Section 2 Exercise 3 A) (Decimal) 3 + 3 = (Binary) 11 + 11 = 11 + 11 = —— (Binary) 110 (Decimal) 6 B) (Decimal) 7 + 3 = (Binary) 111 + 11 = 111 + 11 = —— (Binary) 1010 (Decimal) 10 C) (Decimal) 4 + 2 = (Binary) 100…… Continue reading Binary Numbers 1 – Section 2 (Binary Addition)- Plymouth University
Matrix Operations – Adding/Subtracting
How do you Add or Subtract Matrices? It is super easy actually! All you need to do is Add (or subtract) from the same element on each matrix. Then after writing out the sum for each element in the Matrix you simplify to get your result. e.g. Top-left + Top-left and Top-middle + Top-middle etc.…… Continue reading Matrix Operations – Adding/Subtracting
Unity – 2D Player Controller
What is this? This is a simple and easy to use 2D Player Controller. It is highly customisable and has easy integration with animations. It features a good set of parameters that can be tweaked within the Inspector as well as being able to hook up events for when the character is Idle, Moving, Jumping…… Continue reading Unity – 2D Player Controller