Summary
An event that takes a single
Collision2D
parameter.
- Assembly
- UltEvents
.dll - Namespace
- UltEvents
- Interfaces
-
- IUltEvent
<Collision2D> - IUltEventBase
- IUltEvent
- Base Types
-
- Object
- UltEventBase
- UltEvent
<Collision2D>
graph BT
Type-->Base0["UltEvent<Collision2D>"]
Base0-->Base1["UltEventBase"]
click Base1 "/ultevents/api/UltEvents/UltEventBase"
Base1-->Base2["Object"]
Type-.->Interface0["IUltEvent<Collision2D>"]
Type-.->Interface1["IUltEventBase"]
click Interface1 "/ultevents/api/UltEvents/IUltEventBase"
Type["CollisionEvent2D"]
class Type type-node
Syntax
[System.Serializable]
public sealed class CollisionEvent2D : UltEvent<Collision2D>, IUltEvent<Collision2D>, IUltEventBase
Attributes
Type | Description |
---|---|
Serializable |
Properties
Name | Value | Summary |
---|---|---|
HasCalls | bool |
Returns true if this event has any
UltEvents.UltEventBase.PersistentCallsList or UltEvents.UltEventBase.DynamicCallsBase registered.
Inherited from UltEventBase
|
PersistentCallsList | List |
The serialized method and parameter details of this event.
Inherited from UltEventBase
|
Methods
Name | Value | Summary |
---|---|---|
AddPersistentCall |
PersistentCall |
Adds the specified `method` to the persistent call list.
Inherited from UltEventBase
|
AddPersistentCall |
PersistentCall |
Ensures that `ultEvent` isn't null and adds `method` to its
UltEvents.UltEventBase.PersistentCallsList .Inherited from UltEventBase
static
|
AddPersistentCall |
PersistentCall |
Ensures that `ultEvent` isn't null and adds `method` to its
UltEvents.UltEventBase.PersistentCallsList .Inherited from UltEventBase
static
|
CacheParameter |
void |
Stores the `parameter` so it can be accessed by
UltEvents.PersistentCall s.
Inherited from UltEventBase
static
|
CacheParameters |
void |
Stores the `parameters` so they can be accessed by
UltEvents.PersistentCall s.
Inherited from UltEventBase
static
|
Clear |
void |
Clears all
UltEvents.UltEventBase.PersistentCallsList and UltEvents.UltEventBase.DynamicCallsBase registered to this event.
Inherited from UltEventBase
|
CopyFrom |
void |
Copies the contents of this the `target` event to this event.
Inherited from UltEventBase
|
DynamicInvoke |
void |
Invokes all
PersistentCalls then all DynamicCalls .
Inherited from UltEventBase
|
Invoke |
void |
Invokes all
UltEvents.PersistentCall s registered to this event.Inherited from UltEventBase
|
On |
void |
Clears the cached invocation list of
UltEvents.UltEventBase.DynamicCallsBase .
Inherited from UltEventBase
|
RemovePersistentCall |
void |
Removes the specified `method` from the persistent call list.
Inherited from UltEventBase
|
RemovePersistentCall |
void |
If `ultEvent` isn't null, this method removes `method` from its
UltEvents.UltEventBase.PersistentCallsList .Inherited from UltEventBase
static
|
RemovePersistentCall |
void |
If `ultEvent` isn't null, this method removes `method` from its
UltEvents.UltEventBase.PersistentCallsList .Inherited from UltEventBase
static
|
ToString |
string |
Returns a description of this event.
Inherited from UltEventBase
|
ToString |
void |
Appends a description of this event.
Inherited from UltEventBase
|
Operators
Name | Value | Summary |
---|---|---|
implicit operator |
UltEvent |
Inherited from UltEvent
|
operator - |
UltEvent |
Inherited from UltEvent
|
operator + |
UltEvent |
Inherited from UltEvent
|