feat: add initial People Playground mod development kit

This commit is contained in:
2026-01-06 06:35:51 +03:00
parent b89c805060
commit 27da387c5a
1095 changed files with 40267 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
URL: https://wiki.studiominus.nl/internalReference/TemperatureTargetRectangleBehaviour.html
Title: People Playground Modding - TemperatureTargetRectangleBehaviour
==================================================
public class TemperatureTargetRectangleBehaviour
Inherits MonoBehaviour
This behaviour only does stuff when the preference "AmbientTemperatureTransfer" is enabled.It changes the temperature of cells in the ambient temperature grid, that overlap a given rectangle, to a target value at a given rate.
Fields
public float TargetAmbientTemperature
Target temperature in Celsius
public Vector3Int Size
Global size of the effector rectangle
public Vector3Int Offset
Global offset of the effector rectangle. Its final position will be transform.position + Offset
public float TransferRateMultiplier
[Min(0)]
How fast the temperature of the grid moves towards the TargetAmbientTemperature. 1 by default.