Method ContainsVariable
ContainsVariable(RideID, RideID)
Checks if the variable is set on the entity
Declaration
bool ContainsVariable(RideID entity, RideID v)
Parameters
Type | Name | Description |
---|---|---|
RideID | entity | The entity to check |
RideID | v | The variable to check for |
Returns
Type | Description |
---|---|
System.Boolean | True if the entity has the variable |
ContainsVariable(RideID, String)
Checks if the variable is set on the entity
Declaration
bool ContainsVariable(RideID entity, string v)
Parameters
Type | Name | Description |
---|---|---|
RideID | entity | The entity to check |
System.String | v | The name of the variable to check for |
Returns
Type | Description |
---|---|
System.Boolean | True if the entity has the variable |