Intro to C# – Working with Classes (Part 2)

create_primitives

In this short video you will get to understand the process of creating constructors for your own classes using C#. You will also see how it is possible to create a visual representation of this class by instantiating a primitive and create basic AI behaviours.


We will look at:

  • Creating new classes
  • Instantiating objects based on this class
  • Creating primitives from C# (e.g., Sphere)
  • Creating a simple AI behavior (follow a target) for each instance

Related Articles: