Exemple #1
0
    public static void GetNewUnicorn(PointCollection target)
    {
        int value = SpawnSystem.GetRandomWeightIndex(); // here we randomize which unicorn it is that will spawn

        target.ChangeType((UnicornEnum.UnicornTypeEnum)instance.enums.GetValue(value), instance.materialList[value], instance.secondsForDelivery);
    }