Jagamisviis:


Creating Interception Behaviors

Unity uses the Interceptor class to specify how interception happens, and the InterceptionBehavior class to describe what to do when an object is intercepted. Unity interception utilizes a behavior pipeline to for the behaviors. The Interception Behavior Pipeline maintains a list of interception behaviors and manages them, calling them in the proper order with the correct inputs.

For information on the details about interception behaviors see Interception with Unity and Behaviors for Interception.