Actor properties, methods and character capabilities
Expose stable C# capabilities once, then select and compose them in the editor.
Choose an Actor base
PoBDSActor supplies the base blueprint interface. PoBDSCharacterActor adds integer movement, health, stamina, targeting, teams and basic combat. PoBDSCharacterComponent connects the character, Unity object, Agent and fixed-step updates.
| Category | Built-in examples |
|---|---|
| Transform | Position, integer XYZ millimeters, teleport and facing |
| Vitals | Health, maximum health, health permille, armor, damage, healing, revive and stamina |
| Movement | Speed, movement permission and arrived / blocked / disabled results |
| Perception / Target | Search radius, nearest enemy, Actor reference, distance and visibility callback |
| Combat / Tags | Attack range, damage, interval, counters and character tags |
Start from a typed Actor reference
Get the Actor
Use Self Actor, Target Actor or an Actor variable. An Actor reference is not a HasTarget boolean.
Discover members
Search from the Actor output or connect it to a property node. The inspector should identify the connected source.
Choose a property or method
Use the categorized selector instead of guessing a method name string. Bind method arguments on the invocation Action.
Perform calculations
Position returns Vector3. Enable component splitting for XYZ outputs; use integer millimeter coordinates or distance for integer simulation rules.
Expose a game-specific member
using System;
using PoBDS.Runtime;
[Serializable, PoBDSActorAttr("Guard", Group = "Game/Guard")]
public class GuardActor : PoBDSCharacterActor
{
[PoBDSProp("Ammo", Group = "Game/Combat")]
public int Ammo { get; set; } = 30;
[PoBDSMethod("Reload", Group = "Game/Combat")]
public void Reload() { Ammo = 30; }
}Compile and refresh the member list. Use your own Actions or virtual hooks for game-specific animation, navigation, network damage and weapons. Those rules belong to the host project.
Use reflection deliberately
Discover and categorize members in the editor or at initialization. Cache resolved accessors for repeated runtime use; do not scan assemblies or look up MethodInfo every Update. Account for reflection-member preservation in IL2CPP builds.