Table of Contents

Class RoundSpawnerTools

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
public class RoundSpawnerTools : MonoBehaviour
Inheritance
RoundSpawnerTools
Inherited Members
Extension Methods

Constructors

RoundSpawnerTools()

public RoundSpawnerTools()

Fields

artifactSpawnerPrefab

public GameObject artifactSpawnerPrefab

Field Value

GameObject

me

public static RoundSpawnerTools me

Field Value

RoundSpawnerTools

possibleSpawns

public List<Item> possibleSpawns

Field Value

List<Item>

testDay

public int testDay

Field Value

int

Methods

Awake()

public void Awake()

CreateArtifactSpawners(List<Item>)

public void CreateArtifactSpawners(List<Item> artifacts)

Parameters

artifacts List<Item>

GetArtifact(ref int, List<Item>, float)

public static Item GetArtifact(ref int budget, List<Item> possibleSpawns, float rarestPurchase)

Parameters

budget int
possibleSpawns List<Item>
rarestPurchase float

Returns

Item

GetRandPointWithWeight()

public static Vector3 GetRandPointWithWeight()

Returns

Vector3

GetRandomArtifactByRarity(Item[])

public static Item GetRandomArtifactByRarity(Item[] possibleSpawns)

Parameters

possibleSpawns Item[]

Returns

Item

GetToolsToSpawn(int, float)

public List<Item> GetToolsToSpawn(int budget, float rarestPurchase)

Parameters

budget int
rarestPurchase float

Returns

List<Item>

Populate()

public void Populate()

PrintToolsPerDay(int, int)

public void PrintToolsPerDay(int day, int times)

Parameters

day int
times int

SpawnRound(int, float)

public void SpawnRound(int budget, float rarestPurchase)

Parameters

budget int
rarestPurchase float

Start()

public IEnumerator Start()

Returns

IEnumerator