Browse Source

Data fields are now private

master
chrisgregan 10 years ago
parent
commit
b041885166
  1. 7
      Assets/Fungus/VisualScripting/BooleanVariable.cs
  2. 7
      Assets/Fungus/VisualScripting/FloatVariable.cs
  3. 7
      Assets/Fungus/VisualScripting/IntegerVariable.cs
  4. 7
      Assets/Fungus/VisualScripting/StringVariable.cs

7
Assets/Fungus/VisualScripting/BooleanVariable.cs

@ -19,8 +19,11 @@ namespace Fungus.Script
[System.Serializable]
public class BooleanData
{
public BooleanVariable booleanReference;
public bool booleanValue;
[SerializeField]
BooleanVariable booleanReference;
[SerializeField]
bool booleanValue;
public bool Value
{

7
Assets/Fungus/VisualScripting/FloatVariable.cs

@ -18,8 +18,11 @@ namespace Fungus.Script
[System.Serializable]
public class FloatData
{
public FloatVariable floatReference;
public float floatValue;
[SerializeField]
FloatVariable floatReference;
[SerializeField]
float floatValue;
public float Value
{

7
Assets/Fungus/VisualScripting/IntegerVariable.cs

@ -18,8 +18,11 @@ namespace Fungus.Script
[System.Serializable]
public class IntegerData
{
public IntegerVariable integerReference;
public int integerValue;
[SerializeField]
IntegerVariable integerReference;
[SerializeField]
int integerValue;
public int Value
{

7
Assets/Fungus/VisualScripting/StringVariable.cs

@ -18,8 +18,11 @@ namespace Fungus.Script
[System.Serializable]
public class StringData
{
public StringVariable stringReference;
public string stringValue;
[SerializeField]
StringVariable stringReference;
[SerializeField]
string stringValue;
public string Value
{

Loading…
Cancel
Save