@ -10,6 +10,7 @@ namespace Fungus
{
[VariableInfo("Other", "Animator")]
[AddComponentMenu("")]
[System.Serializable]
public class AnimatorVariable : VariableBase<Animator>
{}
[VariableInfo("Other", "AudioSource")]
public class AudioSourceVariable : VariableBase<AudioSource>
@ -12,6 +12,7 @@ namespace Fungus
[VariableInfo("", "Boolean")]
public class BooleanVariable : VariableBase<bool>
public virtual bool Evaluate(CompareOperator compareOperator, bool booleanValue)
[VariableInfo("Other", "Color")]
public class ColorVariable : VariableBase<Color>
[VariableInfo("", "Float")]
public class FloatVariable : VariableBase<float>
public virtual bool Evaluate(CompareOperator compareOperator, float floatValue)
[VariableInfo("Other", "GameObject")]
public class GameObjectVariable : VariableBase<GameObject>
[VariableInfo("", "Integer")]
public class IntegerVariable : VariableBase<int>
public virtual bool Evaluate(CompareOperator compareOperator, int integerValue)
[VariableInfo("Other", "Material")]
public class MaterialVariable : VariableBase<Material>
[VariableInfo("Other", "Object")]
public class ObjectVariable : VariableBase<Object>
[VariableInfo("Other", "Sprite")]
public class SpriteVariable : VariableBase<Sprite>
@ -11,6 +11,7 @@ namespace Fungus
[VariableInfo("", "String")]
public class StringVariable : VariableBase<string>
public virtual bool Evaluate(CompareOperator compareOperator, string stringValue)
[VariableInfo("Other", "Texture")]
public class TextureVariable : VariableBase<Texture>
[VariableInfo("Other", "Transform")]
public class TransformVariable : VariableBase<Transform>
[VariableInfo("Other", "Vector2")]
public class Vector2Variable : VariableBase<Vector2>
[VariableInfo("Other", "Vector3")]
public class Vector3Variable : VariableBase<Vector3>