Add presenter interfaces and a capability event binder
IAbsorbPresenter/IGrabPresenter/IMeleePresenter/IThrustPresenter let a Unity component declare which capability events it visualizes without knowing about CapabilityEvents itself. CapabilityPresentationBinder is the only thing that subscribes a presenter to its matching stream, resolving a GrabEvent's plain target handle to a live Transform (and initial velocity) through delegates its owner supplies, since the engine-free GrabEvent can't carry a Unity reference. Neither file knows about FieldDriver or any other concrete presentation. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
fdea06f27f
commit
450d0731f7
4 changed files with 124 additions and 0 deletions
11
Assets/Scripts/Gameplay/CapabilityPresentationBinder.cs.meta
Normal file
11
Assets/Scripts/Gameplay/CapabilityPresentationBinder.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: d8f4aa77146e46a2a4b28d9fefb98496
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
Reference in a new issue