Service Node

Type description and basic instructions.

Description

Service Node is base abstract class for all service nodes.

To create a custom service node you should inherit from Service Node class and implement logic that is described below.

OnTick

When inheriting from Task Node you have to override OnTick method.

public class ExampleServiceNode : ServiceNode
{
    protected override void OnTick()
    {
        throw new NotImplementedException();
    }
}
  • OnTick contains logic of service tick.

  • OnTick gets called every time during node execution.

To create custom service nodes in editor you should add Node Content attribute to your custom task node class.

Last updated