Main

Description: refers to the ModularBehaviour that this module is attached to.

//Example
public void Awake()
{
    ModularBehaviour main = this.Main;
}

RequiredOtherModules

Description: add types to this TypeList to specify which other modules are required and therefore should be added to the Main gameObject after you add this module.

//Usage
public override TypeList RequiredOtherModules { get; }
//Example
public override TypeList RequiredOtherModules { get; } 
    = new TypeList()
    .Add(typeof(SecondModule))
    .Add(typeof(ThirdModule));

UpdateInvocationConstraints

Description: refer to this property to change how often ModuleUpdate() should be called

//Usage
UpdateInvocationConstraints.SetFrames(frames);
UpdateInvocationConstraints.SetSeconds(seconds);
//Example
public void Awake()
{
    UpdateInvocationConstraints.SetFrames(15);
    UpdateInvocationConstraints.SetSeconds(3.5f);
}