Class RoundSpawnerTools
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class RoundSpawnerTools : MonoBehaviour
- Inheritance
-
RoundSpawnerTools
- Inherited Members
-
- Extension Methods
-
Constructors
public RoundSpawnerTools()
Fields
public GameObject artifactSpawnerPrefab
Field Value
- GameObject
public static RoundSpawnerTools me
Field Value
- RoundSpawnerTools
public List<Item> possibleSpawns
Field Value
- List<Item>
Field Value
- int
Methods
public void CreateArtifactSpawners(List<Item> artifacts)
Parameters
artifacts
List<Item>
public static Item GetArtifact(ref int budget, List<Item> possibleSpawns, float rarestPurchase)
Parameters
budget
int
possibleSpawns
List<Item>
rarestPurchase
float
Returns
- Item
public static Vector3 GetRandPointWithWeight()
Returns
- Vector3
public static Item GetRandomArtifactByRarity(Item[] possibleSpawns)
Parameters
possibleSpawns
Item[]
Returns
- Item
public List<Item> GetToolsToSpawn(int budget, float rarestPurchase)
Parameters
budget
int
rarestPurchase
float
Returns
- List<Item>
public void PrintToolsPerDay(int day, int times)
Parameters
day
int
times
int
public void SpawnRound(int budget, float rarestPurchase)
Parameters
budget
int
rarestPurchase
float
public IEnumerator Start()
Returns
- IEnumerator