|
Scentient Escents Unity API
|
Simple class for emitting scents. Designed to be called by game scripts, and UnityEvent actions. More...
Public Member Functions | |
| void | Reset () |
| void | Emit () |
| void | Stop () |
Properties | |
| string | ScentName [get, set] |
| The name of the scent, can include spaces, should be one of the names in the following table https://api.scentient.tech/scent-table_en.csv. | |
| float | Intensity [get, set] |
| Controls the intensity of the scent emitted by the device. valid range is 0 to 1. | |
| float | Duration [get, set] |
| Controls duration that the scent is emitted by the device. Calling Emit with duration 0 is equivilent to calling Stop. Value is in seconds, valid range is 0 to 60. | |
Simple class for emitting scents. Designed to be called by game scripts, and UnityEvent actions.