Курс по изучению Unreal Engine Урок 6.1 - Основы объектно-ориентированного программирования

Курс по изучению Unreal Engine Урок 6.1  - Основы объектно-ориентированного программирования01:22:04

Курс по изучению Unreal Engine Урок 6.1 - Основы объектно-ориентированного программирования videosi uchun yuklab olish ma'lumotlari va tafsilotlari

Muallif:

Developer Nikk

Chop etilgan sana:

19/04/2025

Ko'rishlar soni:

702

Tavsif:

The course begins at 00:00 with an introduction, followed by a discussion of OOP concepts at 00:40, including definitions, instances, properties, methods, and classes. At 04:20 the lesson covers inheritance, then encapsulation at 07:27, and polymorphism at 11:35. The next section, starting at 15:19, explains the core classes defined by Game Mode, such as Game Mode, Game Session, Game State, Player Controller, Player State, HUD, Default Pawn Class, and Spectator Class, and how they are used in practice at 20:18. The instructor then demonstrates creating a first class at 21:03, covering UObject, Actor, and editor workflow. At 23:17 the first logic is written, and at 24:36 the dependency of Event Tick on frame rate is addressed. The following sections cover component theory at 26:46, component work at 28:06, and a practical example of creating an object in the game world using a component approach at 28:39. The course continues with modeling meshes at 38:25, building a windmill with rotating blades at 42:38, and handling player input at 45:54. At 47:55 the instructor discusses encapsulation by changing access modifiers, and at 48:31 introduces getters and setters. The lesson concludes with a review of component-based design at 50:53, editable instance properties at 51:54, construction scripts at 53:47, and spawning techniques at 56:35. The final part covers owner and instigator at 01:00:21, rotation changes at 01:04:04, spawn frequency at 01:05:05, and best OOP practices at 01:06:06, including inheritance, abstraction, and polymorphism, before summarizing the practical application of OOP principles at 01:14:44, and concluding with Actor Component insights at 01:17:02 and 01:20:30.