File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed
Samples~/Demo/Script/Runtime Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ namespace LSystemPackage
77 /// </summary>
88 public interface ILSystemActionVariable
99 {
10- public abstract char Symbol { get ; }
10+ char Symbol { get ; }
1111
12- public abstract void OnSymbolFind ( ) ;
12+ void OnSymbolFind ( ) ;
1313 }
1414}
Original file line number Diff line number Diff line change 77 /// </summary>
88 public interface ILSystemRule
99 {
10- public abstract string SequenceToInsert { get ; }
10+ string SequenceToInsert { get ; }
1111 }
1212}
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ namespace LSystemPackage
77 /// </summary>
88 public interface ILSystemRuleVariable
99 {
10- public abstract char Symbol { get ; }
10+ char Symbol { get ; }
1111
12- public abstract ILSystemRule Rule { get ; }
12+ ILSystemRule Rule { get ; }
1313 }
1414}
Original file line number Diff line number Diff line change @@ -10,8 +10,13 @@ namespace LSystemPackage
1010 [ Serializable ]
1111 public class LSystemActionVariable : ILSystemActionVariable
1212 {
13+ [ System . Serializable ]
14+ public class CharEvent : UnityEvent < char >
15+ {
16+ }
17+
1318 public string symbol ;
14- public UnityEvent < char > action ;
19+ public CharEvent action ;
1520
1621 public char Symbol => symbol . First ( ) ;
1722
You can’t perform that action at this time.
0 commit comments