Свойство | Тип | Описание | |
---|---|---|---|
CantPassThrough | LayerMask | ||
GrowthRate | float |
Метод | Описание | |
---|---|---|
OnTriggerEnter ( Collider col ) : void |
When an object enters a collider, check to see if it hits a layer in the layer mask
|
|
OnTriggerExit ( Collider col ) : void |
When the object exits the collider
|
|
Start ( ) : void |
Used to initialize GrowthRate to the appropriate value
|
|
Update ( ) : void |
Called every frame. Moves the cylinder to create the growing effect.
|
public OnTriggerEnter ( Collider col ) : void | ||
col | Collider | The object collided with |
Результат | void |
public OnTriggerExit ( Collider col ) : void | ||
col | Collider | The object it collided with |
Результат | void |