Ctrl+K

ActionComponent

Declaration

public class Strawberry.Components.ActionComponent

Inherits: Strawberry.Core.BaseComponent

Methods

Update

EventSubscription Update(Action action)

Parameters:

Name Type Description
action System.Action

Render

EventSubscription Render(Action action)

Parameters:

Name Type Description
action System.Action

FixedUpdate

EventSubscription FixedUpdate(Action action)

Parameters:

Name Type Description
action System.Action

ClearUpdate

void ClearUpdate()

ClearRender

void ClearRender()

ClearFixedUpdate

void ClearFixedUpdate()

ClearAll

void ClearAll()

OnUpdate override

void OnUpdate()

OnRender override

void OnRender()

OnFixedUpdate override

void OnFixedUpdate()