• Snazz@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    8 months ago

    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.)

    • warlaan@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      7 months ago

      you’d never have player movement in the GameManager class

      You want to bet? (Source: I teach game programming on a college level.)

      But yeah, your comment about the gear icon is sadly more true than people may realize. Game developers do questionable things. => Engine developers cater to people. => Students argue that if something is supported it can’t be that bad. Sometimes it feels like fighting windmills.