예제 #1
0
    public void StartTemperatureEvent(WorldTempChangeType type, TemperatureEvent evt, int cooldown)
    {
        changeType = type;
        tempEvent  = evt;

        if (cooldown > 0)
        {
            cdDuration = cooldown;
            onCd       = true;
        }

        Debug.Log("starting");
    }
예제 #2
0
 public void StopEvent()
 {
     changeType = WorldTempChangeType.NONE;
     Debug.Log("ending");
 }