Show / Hide Table of Contents

UE4DotNet Getting Started Guide

Introduction

UE4DotNet is a plugin for supporting scripting using any DotNet language (include C# and F#). It is currently in early Alpha and only supports UE4 4.21 and DotNet Foundation. Future versions will support later versions of UE4 and DotNet Core 3 and DotNet 5.

Making Your first Game

In the toolbar there is a new button called DotNet. In the dropdown menu, select the command New Game. This command does two things. First it installs a new template for DotNet that is a blank UE4 DotNet Game.

Second, it creates a new game in the folder DotNet/Game. This includes the two base files required for your game.

One file is MyGameInstance.cs. In UE4 the GameInstance class controls the lifetime of your game. MyGameInstance controls the createion of MyGameMode, which lives in MyGameMode.cs

  • Improve this Doc
Back to top Generated by DocFX