Skip to content

Instantly share code, notes, and snippets.

using Sirenix.OdinInspector;
using UnityEngine;
#if UNITY_EDITOR
#endif
/// <summary>
/// Placed where an obstacle will be spawned when the game loads.
/// Used to fake nested prefabs in a pre-2018.3 world.
/// </summary>
[ExecuteInEditMode]
using Sirenix.OdinInspector;
using UnityEngine;
#if UNITY_EDITOR
#endif
/// <summary>
/// Placed where an obstacle will be spawned when the game loads.
/// Used to fake nested prefabs in a pre-2018.3 world.
/// </summary>
[ExecuteInEditMode]
using System;
using System.Linq;
using System.Text;
using UnityEngine;
public static class CommandCenterReplacement
{
/// <summary>
/// Returns the test value for this key and user, with different probabilities for each value.
/// For example, to have a 40-60 split between the first and second value, you'd pass probabilities as