[This is preliminary documentation and is subject to change.]
Returns the MessageBusSubscriber component if it exists for this GameObject, null if it doesn't.
Namespace: (Default Namespace)Assembly: DH.Messaging.Extensions (in DH.Messaging.Extensions.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- gameObject
- Type: GameObject
GameObject reference object.
Return Value
Type: MessageBusSubscriberMessageBusSubscriber Component
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type GameObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also