-
Sven Gerlach authoredSven Gerlach authored
GlobalVariablesNamespaces.cs 2.18 KiB
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Articy.Unity;
using Articy.Unity.Interfaces;
using System;
using System.Collections;
using UnityEngine;
namespace Articy.ViaVr.GlobalVariables
{
[Serializable()]
public class Variables : IArticyNamespace
{
[SerializeField()]
private BaseGlobalVariables _VariableStorage;
//
public bool AskedQuestion
{
get
{
return _VariableStorage.Internal_GetVariableValueBoolean(0);
}
set
{
_VariableStorage.Internal_SetVariableValueBoolean(0, value);
}
}
//
public int DialogueCount
{
get
{
return _VariableStorage.Internal_GetVariableValueInt32(0);
}
set
{
_VariableStorage.Internal_SetVariableValueInt32(0, value);
}
}
public string Question
{
get
{
return _VariableStorage.Internal_GetVariableValueString(0, true);
}
set
{
_VariableStorage.Internal_SetVariableValueString(0, value);
}
}
//
public string Unresolved_Question
{
get
{
return _VariableStorage.Internal_GetVariableValueString(0, false);
}
}
public void RegisterVariables(BaseGlobalVariables aStorage)
{
_VariableStorage = aStorage;
aStorage.RegisterVariable("Variables.AskedQuestion", false);
aStorage.RegisterVariable("Variables.DialogueCount", 0);
aStorage.RegisterVariable("Variables.Question", "\"Hello\"");
}
}
}