Site13Kernel.Core

In Site13Kernel.UnityEngine

What's this?

This namespace contains ths most core codes of Site13Kernel.

Understanding Codes

ControlledBehavior

As you know, Update() and FixedUpdate() consumes too much time when you have too much scripts on objects, therefore, I designed the "ControlledBehavior - Controller" system to solve the problem.

The basic logic is to reduce direct use of Update() and FixedUpdate() by using controllers to control the ControlledBehavior.

Knowing that, this class is a 'base class' to all scripts that will be used on game logics like doors.

To use this class, you need to implement:

DamagableEntity

This is an implementation of ControlledBehavior which is used in the scene that will be able to be damaged by bullets.

IHittable

An interface that describes which hit effect to use when a bullet hits it..