Scentient Escents Unity API
Loading...
Searching...
No Matches
Scentient.EmitScent Class Reference

Simple class for emitting scents. Designed to be called by game scripts, and UnityEvent actions. More...

Inheritance diagram for Scentient.EmitScent:

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.
 

Detailed Description

Simple class for emitting scents. Designed to be called by game scripts, and UnityEvent actions.


The documentation for this class was generated from the following file: