Site13Kernel.Core.Controllers

In Site13Kernel.UnityEngine

What's this?

This is namespace contains controllers of the "ControlledBehavior - Controller" system.

Understanding Codes

BaseController

This is the base class of the controllers in the "ControlledBehavior - Controller" system.

You should call SerializeAll(); in Start() or Awake() method as initialization.

In initialization phase, you should call Init() for all ControlledBehaviors.

In Update() phase, you should call Refresh() for all ControlledBehaviors.

In FixedUpdate() phase, you should call FixedRefresh() for all ControlledBehaviors.

BehaviorController

This is the standard implementation of BaseController. Also, it's the most common used controller across the game.

EntityController

This is a non-standard implementation of a controller. Also, it's the base controller to controll DamagableEntities.