Browse Source

Added RequireComponent

master
chrisgregan 11 years ago
parent
commit
7ce2cb0704
  1. BIN
      Assets/Example/Scenes/Example.unity
  2. 1
      Assets/Fungus/FungusScript/Scripts/Variable.cs

BIN
Assets/Example/Scenes/Example.unity

Binary file not shown.

1
Assets/Fungus/FungusScript/Scripts/Variable.cs

@ -18,6 +18,7 @@ namespace Fungus
Global Global
} }
[RequireComponent(typeof(FungusScript))]
public class Variable : MonoBehaviour public class Variable : MonoBehaviour
{ {
public VariableScope scope; public VariableScope scope;

Loading…
Cancel
Save