From 7ce2cb07046c1a4778ffddaab95c8d142ad5fbff Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Thu, 11 Sep 2014 16:16:54 +0100 Subject: [PATCH] Added RequireComponent --- Assets/Example/Scenes/Example.unity | Bin 124588 -> 124692 bytes .../Fungus/FungusScript/Scripts/Variable.cs | 1 + 2 files changed, 1 insertion(+) diff --git a/Assets/Example/Scenes/Example.unity b/Assets/Example/Scenes/Example.unity index 51ade5f2de9da8b3f16328dca0b6c75fafbfa2f6..500689651c63a1dc6694e64a93b1a73a4c8fbee5 100644 GIT binary patch delta 815 zcmY+>Ur19?90%~<&lQ`|!>BD0_j zK{!E0J@gPPNM~^ez1$v*wf^Xf+ZFtme@LMq$k`Ca^?TbH++8^Lp7Xiqch2|T^X8j# z^1IVb99Sg&=^>(O^#8=%@7;W%nd`Ny&HV4U8pjKk?XA*q=e9~Tit!=YreFow0LDK| z)9k`?8WxQb`O#mKmV~8YKAX+JT(L?^Ds^3cn2t?%9Hd$|`gQB+Jy$|q|mQZRd%ahUf3(J=lj?aSf` zpboT$3F}5=4K`~F6M?-RsSMKxqlZM3m{*YNsjw$71-2_K3M;@a!B%0ab)GSx7l&@0 zdtOew4@(2OVJp)5VZKL|3l6|u!tAwi*x9ktxi8DwL0Bj32G-k=Hl!QJA_lMp_*Y`1 z_Td_Ta=4xOnoOv8<@gzM xmG~Io6C!BvQSoYnJzCn}r6c0*Cf5pmgWrjzE%peX$}VkulUtY@#qt)<9RPap2`vBs delta 766 zcmY+>KWGzi6u|NKY@k{y1axpHx^z%+b2*BIjDik|LNeSCLD5ABT}*A-OZwkdYlX^B z&_P^VXcgo--k^hjTS1!&THBJA78C+%4T8k)CBJ9__qg}_-0%I~ySu5k%`5_Fc9IBA2SgmD-nB5zB;)ZM?!#!y+lxf9!y-u~n=MTe0!M@!TF65xD@+rxHt!+j9jw z&$>2D9t*JWjd$#U6Xk`>?$O3!ZeuB|ewazDh;hkpTYCpf-(VQN?7wL;!E*0C@Hti+ zrWZ?&H4f8<&0|ySE7=1*?98}`i~X>c#pbXR*cWR#tcZob_$TIt|Fa*=B5Cp!yKw+3 zVf6YzvE#f3~&5*x?D0i`cfc5o{7WjeWOvOvHb8PMA1#CDxod@ zu7s}lX~b+S>2cGZSLg1cMtnD~57c))>iZTwYW5a%!L$~%%><7$<~tkOs^(Kc_nTya JQg>75{{jJM_DcW& diff --git a/Assets/Fungus/FungusScript/Scripts/Variable.cs b/Assets/Fungus/FungusScript/Scripts/Variable.cs index de5e70bf..38e906cd 100644 --- a/Assets/Fungus/FungusScript/Scripts/Variable.cs +++ b/Assets/Fungus/FungusScript/Scripts/Variable.cs @@ -18,6 +18,7 @@ namespace Fungus Global } + [RequireComponent(typeof(FungusScript))] public class Variable : MonoBehaviour { public VariableScope scope;