Table of Contents

Class ScriptComponent

Namespace
Ghost.Entities
Assembly
Ghost.Entities.dll
public abstract class ScriptComponent
Inheritance
ScriptComponent
Inherited Members

Properties

Entity

public Entity Entity { get; }

Property Value

Entity

ManagedEntity

public ManagedEntity ManagedEntity { get; }

Property Value

ManagedEntity

World

public World World { get; }

Property Value

World

Methods

FixedUpdate()

public virtual void FixedUpdate()

GetComponent<T>()

protected ref T GetComponent<T>() where T : unmanaged, IComponent

Returns

T

Type Parameters

T

LateUpdate()

public virtual void LateUpdate()

OnCreate()

public virtual void OnCreate()

OnDestroy()

public virtual void OnDestroy()

OnDisable()

public virtual void OnDisable()

OnEnable()

public virtual void OnEnable()

Start()

public virtual void Start()

Update()

public virtual void Update()