• 0 Posts
  • 7 Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle

  • Unity actually gives any class with the name GameManager a special gear icon. You cant just forgo the cool gear icon!

    (Its not too terrible from an organizational standpoint because most of the scripts are attached to game objects. MonoBehavior is a component of GameObject. For instance, you’d never have player movement in the GameManager class, you would put it in the component class attached to the player character GameObject.)





  • Snazz@lemmy.worldtoLemmy Shitpost@lemmy.worldPanik
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    You can also prove it a different way if you allow the use of the formula for finding the limit of the sum of a geometric series on a non-convergent series.

    Sum(ar^n, n=0, inf) = a/(1-r)

    So,

    …999999

    = 9 + 90 + 900 + 9000…

    = 9x10^0 + 9x10^1 + 9x10^2 + 9x10^3…

    = Sum(9x10^n, n=0, inf)

    = 9/(1-10)

    = -1