|
|
@ -2,12 +2,13 @@ |
|
|
|
using UnityEngine; |
|
|
|
using UnityEngine; |
|
|
|
using System.Collections; |
|
|
|
using System.Collections; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Collections.Generic; |
|
|
|
using Fungus; |
|
|
|
|
|
|
|
|
|
|
|
namespace Fungus.Script |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
[CustomEditor (typeof(Sequence))] |
|
|
|
[CustomEditor (typeof(Sequence))] |
|
|
|
public class SequenceEditor : Editor |
|
|
|
public class SequenceEditor : Editor |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
static public Sequence SequenceField(GUIContent label, FungusScript fungusScript, Sequence sequence) |
|
|
|
static public Sequence SequenceField(GUIContent label, FungusScript fungusScript, Sequence sequence) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (fungusScript == null) |
|
|
|
if (fungusScript == null) |
|
|
@ -72,3 +73,5 @@ public class SequenceEditor : Editor |
|
|
|
return keys[newIndex]; |
|
|
|
return keys[newIndex]; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |