Example #1
0
 // Called when the node starts its execution
 public override void Start()
 {
     stater = self.GetComponent <SUnitStater>();
 }
Example #2
0
 /// <summary>
 /// Constructor for constants.
 /// <param name="value">The value of the variable.</param>
 /// </summary>
 public ConcreteStaterVar(SUnitStater value)
 {
     this.SetAsConstant();
     this.value = value;
 }