コード例 #1
0
 public void Init(Behaviour behaviour)
 {
     behaviour.SetProperty("attack-range", new VariableProperty(VariableProperty.Type.Number));
     behaviour.SetProperty("attack-damage", new VariableProperty(VariableProperty.Type.Number));
     behaviour.SetProperty("attack-cooldown", new VariableProperty(VariableProperty.Type.Number));
 }
コード例 #2
0
 public void Init(Behaviour behaviour)
 {
     behaviour.SetProperty("prop-name", new VariableProperty(VariableProperty.Type.String));
 }
コード例 #3
0
 public void Init(Behaviour behaviour)
 {
     behaviour.SetProperty("move-range", new VariableProperty(VariableProperty.Type.Number));
     behaviour.SetProperty("move-speed", new VariableProperty(VariableProperty.Type.Number));
 }
コード例 #4
0
 public void Init(Behaviour behaviour)
 {
     behaviour.SetProperty("origin", new VariableProperty(VariableProperty.Type.Vector));
     behaviour.SetProperty("max-distance", new VariableProperty(VariableProperty.Type.Number));
     behaviour.SetProperty("move-speed", new VariableProperty(VariableProperty.Type.Number));
 }
コード例 #5
0
 public void Init(Behaviour behaviour)
 {
     behaviour.SetProperty("check-radius", new VariableProperty(VariableProperty.Type.Number));
 }