Beispiel #1
0
 public override void Build(GameObject parent, GenericParameter parameter)
 {
     InstantiateSubject(parent, parameter, 0);
     StringInputFieldParam.Instantiate(parent, parameter, 0, "Entity to spawn:");
     IntDropdownParam.Instantiate(parent, parameter, 1, "Localtion:", spawnLocation);
     IntInputFieldParam.Instantiate(parent, parameter, 2, "Location anchor ID:");
     StringInputFieldParam.Instantiate(parent, parameter, 1, "Initial animation:");
     IntInputFieldParam.Instantiate(parent, parameter, 3, "Team ID (-1 for same team):");
     BoolToggleParam.Instantiate(parent, parameter, 0, "Own:");
     StringListInputFieldParam.Instantiate(parent, parameter, 0, "Variable keys:");
     IntListInputFieldParam.Instantiate(parent, parameter, 0, "Variable values:");
     IntDropdownParam.Instantiate(parent, parameter, 4, "Facing options:", hurtFacingOptions);
     FloatInputFieldParam.Instantiate(parent, parameter, 0, "Offset X:");
     FloatInputFieldParam.Instantiate(parent, parameter, 1, "Offset Y:");
     FloatInputFieldParam.Instantiate(parent, parameter, 2, "Offset Z:");
 }
Beispiel #2
0
 public override void Build(GameObject parent, GenericParameter parameter)
 {
     InstantiateSubject(parent, parameter, 0);
     IntDropdownParam.Instantiate(parent, parameter, 1, "Is:", listType);
     StringListInputFieldParam.Instantiate(parent, parameter, 0, "Animations list");
 }