feat: add initial People Playground mod development kit
This commit is contained in:
11
extracted_wiki_content/internalReference/existbychance.txt
Normal file
11
extracted_wiki_content/internalReference/existbychance.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
URL: https://wiki.studiominus.nl/internalReference/ExistByChance.html
|
||||
Title: People Playground Modding - ExistByChance
|
||||
==================================================
|
||||
|
||||
public class ExistByChance
|
||||
Inherits MonoBehaviour
|
||||
Deactivates the GameObject if a random value is more than the given chance
|
||||
Fields
|
||||
public float Chance
|
||||
[Range(0, 1f)]
|
||||
Chance of this object being active
|
||||
Reference in New Issue
Block a user