Now that you know that each Component object resides in computer memory, storing data in variables, it's time to use Dot Syntax to access those Component variables and methods.
Dot Syntax can be used to access any pubic variable or method on any Component on any GameObject. Even though a Component always has access to its own variables and methods, we can still use Dot Syntax if we want.
In order to have access to a variable or method, we have to know its location. Let's start by looking in LearningScript
.
Here's an overview of how to access a variable or method from within the current Component:
3.15.237.123