void Awake() { isGame = PrefHolder.newBool("isGame", false); isOxygenLow = new ValueHolder(false); isSurface = new ValueHolder(false); isFreeVersion = PrefHolder.newBool("IsFreeVersion", false); tutorial = (Tutorial)GetComponent(typeof(Tutorial)); }
// Use this for initialization void Awake() { minutesToBreath = PrefHolder.newInt("minutesToBreath", 3); difficulty = PrefHolder.newInt("difficulty", 0); sound = PrefHolder.newFloat("sound", 0.5f); graphicsLevel = PrefHolder.newInt("graphicsLevel", 1); control = PrefHolder.newInt("control", 0); }