|
|
@ -14,8 +14,11 @@ namespace Fungus.Script |
|
|
|
void OnEnable() |
|
|
|
void OnEnable() |
|
|
|
{ |
|
|
|
{ |
|
|
|
FungusCommand t = target as FungusCommand; |
|
|
|
FungusCommand t = target as FungusCommand; |
|
|
|
|
|
|
|
if (t != null) |
|
|
|
|
|
|
|
{ |
|
|
|
t.hideFlags = HideFlags.HideInInspector; |
|
|
|
t.hideFlags = HideFlags.HideInInspector; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public override void OnInspectorGUI() |
|
|
|
public override void OnInspectorGUI() |
|
|
|
{ |
|
|
|
{ |
|
|
|