   Unity.    
  


    ,             Unity.         .          ,   ,  ,  , ,     .    ,          Unity   ,        ,           .   ,       ,       .     2023 . ,    ,        ,       .             !





 

   Unity.    











  


      ,        ,   ,         .             .       ,    ,        .

      ,   .     ,      ,            .

      ,     , , ,      .       ,          .      ,     .

   ,    .             .         ,      .

         .        ,     .




   


          Unity  .     ,  ,       -  (  ),          YouTube,    .          ,       ,         .

 ,           C#   ,       Unity.   ,           ,       .          ,    ,      .

 ,     ,     .           , ,      ,    .

        Unity      .        yandex.ru/games.               : PC, iOS, Android, PS, WebGL ( )  . .    ,      Unity.             .

           WebGL,   simmer.io, itch.io  Yandex- (yandex.ru/games).        ,         .           .             .   - ,   ,   : yandex.ru/games/app/209669.      :








   ,     2023 .              tg: t.me/BigDigitalCourse,        : bigdigital-gamelab.ru/book.         Unity.




 


   ,       ,     .   ,     .        ,      ,      .         , , , , , , ,     .              .

       , ,  ,       .     ,           .

     , , ,    .    ,   ,     .             .

     ,  , ,   .    -,    , ,   .         .

       .    ,   .                 .

       ,        .   ,   ,        .

         ,       .    ,         .

      -     ,             school-xyz.com.                 :

   3D-,  ,     school-xyz.com/3d-professions

 ,    ,           school-xyz.com/gamedesign-professions

         2D-,   ,       school-xyz.com/2d-professions

     ,       school-xyz.com/code-professions

    ,      ,      IT      -  school-xyz.com/business-professions

     ,     ,       .      ,          -.               .              ,         -.




 1.    





1.1   


1.   unity.com      : unity.com/ru/download.    :

   Windows [1]

         [2]     MacOS  Linux.








2.  Unity     , , ,           .          UnityHubSetup,  ,   ()    .  Unity Hub ,     UnityHubSetup    .

3.  Unity Hub.           .     ,    /    ,     Unity Hub  Sign in:








     Unity ,        .    ,          Unity,    .   Unity       ,     :

assetstore.unity.com   2D-  3D-, SDK,      .

learn.unity.com      ,         Unity.

         Unity       ,    assetstore.unity.com,      .

4.           Unity,    Unity Hub.       (Projects),    .    Unity ,        ,         ,  Unity Hub      :








5.     Unity.   Unity Hub   Installs [1]       Install Editor [2].  Unity Hub        Unity.








6.       Unity  .        Unity,     .      ,        (Recommended Version)   (    ).            Unity 2021.3.25f1.      Install Unity Editor  Official Releases       2021.3.25f1.      Install:








        Unity,    Archive  download archive        :








7.        Install,       . ,  Unity       . ,          ,          Android Build Support  iOS Build Support.            .     Unity    C#         Microsoft Visual Studio (    Windows)  Visual Studio for Mac (      ).   :

 Visual Studio           (    Visual Studio),

WebGL Build Support,         ,

  Install:








         .

8.   ,     ,      .          Unity (,       ,       ),      Unity Hub,    Install     Unity  ,   Install Editor.  , Unity Hub     ,       ( Projects),    Unity ( Installs)  . .

9.      ,  :

     Unity,

    : Microsoft Visual Studio (  - Windows)  Visual Studio (  - Mac  Linux),

     Unity.com.   ,              Unity.




1.2      


          .     ,    Hello World .        ,         Unity.

1.      Unity,  Unity Hub     Projects.  New project       :








2.        3D,    ,  01_HelloWorld.    ,      (  ,             ).    Create project:








        Unity.      ,        .    ,     .      ,          ,     ,          :








3.    -     ,       Unity  Preferences ( Settings  Mac)  General  Editor Theme  Light.








4.     ,   .     C# Script-   ,    Hello World.     Project    Assets,            Scenes.       Assets      Create  C# Script,   :








5.   - HelloWorld.   Assets     ,     :








6.    HelloWorld.cs,    .     Visual Studio,     ,   Unity  Preferences ( Settings  Mac)  External Tools  External Script Editor  ,   Visual Studio   -  .








         :








7.      ,       ,     (    ).     ,                .    ,      : void Start()  void Update().

void Start()   ,       Unity.  ,  ,      ,        Unity.

void Update ()   ,      .  ,   Update()    ,       .

8.   ,     Hello World.       void Start(),     ,    print:








9.-   HelloWorld.cs . ,    ,            Unity.    , ,  .

10.          (Hierarchy     ).     ,           (Main Camera),        Direction Light,        .     ,     ()   Hierarchy      GameObject  3D Object  Cube:








11. ,       Cube.       .    HelloWorld.cs   Cube,    (   ) -  .








12. ,      Cube,      ,   ,       ( Inspector)        HelloWorld.cs (Script-):








13.       .      Run      .








14.  ,        ,    ,      Console (    ),   ,    ,     :








15.   ,   Run  .     ,   ,     ,      .

  print,    Debug.Log(),     Unity.   Debug.Log()   print()   ,  print()    - ,   .   print()        Unity,    Debug.Log()            ,     .  ,       ,     Debug.Log().        print(Hello World)      Debug.Log(Hello World).

16.       ,       .        .  ,   ,    ,    Unity    .               Unity.     .

17.  ,   3D  Cube     .     Cube (       Hierarchy),           Inspector      .

18.   Inspector     .     ,  ,  Script-  . .      Inspector  Add Component:








19.      ,        Cube.      Rigidbody        ,      Inspector.








20.  Rigidbody      ,     Unity.  ,     ,          :  ,    ,           .     ( Run)  ,    Cube   .

21.       (Plane),         .    ,       Cube,      GameObject  3D Object  Plane (       GameObject  3D Object  Plane):








22.         Cube.     Plane   Scene    Move Tool,    Y   Plane  .  Move Tool      :








23.    .    (Cube)    (Plane)   .

24.    .  -,       HelloWorld.cs     ,     Cube    .        HelloWorld.cs,      ,    :








      :

  if,       Destroy    Space.     Input.GetKeyDown,  ,      .   Destroy   this.gameObject,      this ()   (game object),        -.

    ,     :

  Console   Hello World;

 (Cube)  ;

    Plane  ;

      Cube .







                .          .           , -     Unity.         Unity,    ,    ,      :

 ,   Console   Goodbye World.

      ,   ,   .      Rigibdoby     .

  -,              .

   print("Hello World");     Start()     Update(),    .        Console?    ,   Update   ,    Start       .




 2.   








        ,   .        ,          - (   .  7).    ,    ,       ,   :

: WebGL ( ),

: ,

  : 35 ,

 :       ,

 .

  Dragon Picker       ,     .      ,     .         ,          ,   .        ,           .        Kaboom 1981 ,   Activision.             :











2.1     


             .

1.  Unity Hub,        ;

2.   ,    New Project,          Hello World.

3.    All templates  3D,   Project Name   , , DragonPicker,   Location      . ,          .








4.  Create project.      Unity.        ,      .      ,         Hello World.            ,          .

5.         Project   .   Assets    .        Scenes,        SampleScene.

6.        ,        .    .    ,          .   SampleScene   ,     Rename     Scene_1.       , ,   Reload.        Scene_1:








7.         .      ,     .




2.2     


                  Unity Asset Store   ,     (  )    Unity.        .  Asset Store  :

3D ,

 /,

  ,

/,

 ,

 -   .

         Dragon for Boss Monster,   .                 Unity.

1.    assetstore.unity.com       ( Unity ID).           Unity ID,        Unity Hub.

2.       ,  Dragon for Boss Monster:








3.  ,     ,    Add to My Assets.        Open in Unity,        (    , .  ):








4.          Unity ID.       Unity.    Unity,      Window  Package Manager:








5.            Unity.     ,  ,   ,    Package Manager  Packages  My Assets.        Dragon for Boss Monster   ,   Download:








6.   ,    Download   Import,  .       ,    Import        Unity.

7.       -   unity asset store,     .         .




2.3    


   -        .       .      ,    3D-,      ,       .

1.   Project     .   : Assets  FourEvilDragonsHP  Prefab  DragonTerrorBringer.

2.    Red,     (   )     Ctrl+D ( Command+D  MacOS).    -   Red 1.    ,        .         ,            .

3.      Red 1   Scenes.        Red 1         Scenes:








4. ,   Scenes       :      Red 1.   Red 1  DragonRed,        ,  Rename    :








5.    DragonRed   .       Project   Hierarchy:








6.    DragonRed     Scene (     Unity).

7.    ,         Inspector ().      DragonRed,      Hierarchy,     Inspector   .     Transform.   : Rotation: 0, 0, 0; Position: 0, 0, 0; Scale: 1, 1, 1:








8.    .       .   Project,   Scenes (,    DragonRed)          Create  Animator Controller.    DragonRedController:








9.    ,    ,    ,       .      DragonRedController   .

10.  Animator  ,               .        ,      Asset-  FlyIdle.     Assets  FourEvilDragonHP  Animations  DragonTerrorBringer  FlyIdle:








11.   FlyIdle,       (  Ctrl+D  Windows  Command+D  MacOS),       Scenes,     FlyDragonRed.

12.   FlyDragonRed   Animator.     Entry -> Fly Float,     ,        :




  .


   .

   ,     (https://www.litres.ru/book/dmitriy-vadimovich-deniso/razrabotka-igry-na-unity-s-nulya-i-do-realizacii-66554918/chitat-onlayn/)  .

      Visa, MasterCard, Maestro,    ,   ,     ,  PayPal, WebMoney, ., QIWI ,       .


