TargetOperationComponent
An abstract class in Root.Township, Alta.Intelligence.
Base component that supplies a TargetOperation for AI target scoring. Its object is renamed to match the operation in the editor.
- Listed in Creatures and AI
- Inherits or implements
MonoBehaviour - Derived types
ChanceOperation,DistanceOperation,FacingOperation,GroundedOperation,LifetimeOperation,OldSenseOperation,RaycastGroundedOperation,RVOBlockedOperation,SameTargetOperation,SchmeecheeOperation,SenseOperation,StatOperation,VelocityLimitOperation,ViewConeOperation
Constructors
| Member | What it is |
|---|---|
protected TargetOperationComponent() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Methods
| Member | What it is |
|---|---|
abstract TargetOperation GetOperation() | Builds the target operation. |
protected abstract string GetName() | Name for the operation, also used as the object name. |
protected virtual void OnValidate() | Renames the object to GetName in the editor. |