Class EntityCore
- Namespace
- ElectricDrill.SoapRpgFramework
- Assembly
- com.electricdrill.soap-rpg-framework.Runtime.dll
The core component for any entity in the game. It is the mandatory base class for all entities, providing essential functionality. Provides easy access to the entity's level, stats, and attributes.
[DisallowMultipleComponent]
public class EntityCore : MonoBehaviour- Inheritance
- 
      objectEntityCore
Properties
Attributes
Gets the EntityAttributes component which manages the entity's attributes.
public virtual EntityAttributes Attributes { get; }Property Value
Level
Gets the EntityLevel class which manages the entity's level and experience.
public virtual EntityLevel Level { get; }Property Value
Name
Gets the name of the entity's GameObject.
public string Name { get; }Property Value
- string
Stats
Gets the EntityStats component which manages the entity's stats.
public virtual EntityStats Stats { get; }Property Value
Methods
Awake()
protected virtual void Awake()Start()
protected virtual void Start()Update()
protected virtual void Update()