Abstract
Unity is a universal simulation platform that consists of a game engine and а graphical user interface. Unity is now used by a large community of game developers, researchers, teachers, and students. In this article Unity simulation platform is used for е modelling Non-Player Character (NPC) behaviour and for illustrating the work of algorithms, which are studied by students. It is expected that this will increase the interest of the students to create NPCs, which perceive their surroundings, make decisions and take actions; to study algorithms and to carry out researches.