Encapsulation and Scope - Unity Fundamentals - 11

Поделиться
HTML-код
  • Опубликовано: 7 ноя 2024

Комментарии • 1

  • @jugibur2117
    @jugibur2117 3 года назад

    As always, you did a great job explaining this!
    What confused me at first was that when you drag a GameObject into the Inspector on a field, it seems to automatically recognize the script attached to it - and thus the class "Inventory". Seem like Magic ;-)
    PS: And additionally the Inspector automatically leaves the Underscore off and set the first letter to uppercase!