Class PiActor<T>
Represents an abstract base class for actors in the game world.
public abstract class PiActor<T> where T : Actor
Type Parameters
TThe type of actor to spawn, which must derive from HogWarpSdk.Game.Actor.
- Inheritance
-
PiActor<T>
- Derived
- Inherited Members
Remarks
This class is responsible for spawning an instance of the specified actor type (T) in the game world.
If the actor cannot be spawned, an exception is thrown.
Fields
- _worldActor
The spawned world actor instance.