コード例 #1
0
 public override void Build(GameObject parent, GenericParameter parameter)
 {
     StringInputFieldParam.Instantiate(parent, parameter, 0, "Global variable:");
     IntDropdownParam.Instantiate(parent, parameter, 0, "Mode:", setOrAddOptions);
     InstantiateNumeratorVar(parent, parameter, 1, 1);
     IntInputFieldParam.Instantiate(parent, parameter, 2, "Or select value or as percentage:");
 }
コード例 #2
0
 public override void Build(GameObject parent, GenericParameter parameter)
 {
     InstantiateSubject(parent, parameter, 0);
     IntDropdownParam.Instantiate(parent, parameter, 1, "Anchor Options", listingOptions);
     IntListInputFieldParam.Instantiate(parent, parameter, 0, "Anchor IDs");
     BoolToggleParam.Instantiate(parent, parameter, 0, "Single Subject");
 }
コード例 #3
0
 public override void Build(GameObject parent, GenericParameter parameter)
 {
     InstantiateSubject(parent, parameter, 0);
     IntDropdownParam.Instantiate(parent, parameter, 1, "Button:", inputButtonOptions);
     IntDropdownParam.Instantiate(parent, parameter, 2, "State:", inputButtonStateOptions);
     InstantiateNegation(parent, parameter);
 }
コード例 #4
0
 public override void Build(GameObject parent, GenericParameter parameter)
 {
     InstantiateSubject(parent, parameter, 0);
     IntDropdownParam.Instantiate(parent, parameter, 1, "Mask:", maskOptions);
     FloatInputFieldParam.Instantiate(parent, parameter, 0, "Velocity X:");
     FloatInputFieldParam.Instantiate(parent, parameter, 1, "Velocity Y:");
     FloatInputFieldParam.Instantiate(parent, parameter, 2, "Velocity Z:");
 }
コード例 #5
0
 public override void Build(GameObject parent, GenericParameter parameter)
 {
     InstantiateSubject(parent, parameter, 0);
     InstantiateSubject(parent, parameter, 1, "Hitters:");
     InstantiateNumeratorVar(parent, parameter, 2, 0);
     IntInputFieldParam.Instantiate(parent, parameter, 3, "Damage percentage:");
     IntDropdownParam.Instantiate(parent, parameter, 4, "Facing options:", hurtFacingOptions);
 }
コード例 #6
0
 public override void Build(GameObject parent, GenericParameter parameter)
 {
     InstantiateSubject(parent, parameter, 0);
     IntDropdownParam.Instantiate(parent, parameter, 1, "Orientation:", directionOptions3D);
     InstantiateArithmeticField(parent, parameter, 2);
     InstantiateNumeratorVar(parent, parameter, 3, 0);
     FloatInputFieldParam.Instantiate(parent, parameter, 0, "Or compare with value:");
     BoolToggleParam.Instantiate(parent, parameter, 1, "Use absolute value");
 }
コード例 #7
0
 public override void Build(GameObject parent, GenericParameter parameter)
 {
     InstantiateSubject(parent, parameter, 0);
     IntDropdownParam.Instantiate(parent, parameter, 1, "Orientation Options", orientationOptions);
     IntDropdownParam.Instantiate(parent, parameter, 2, "Types Options", listingOptions);
     IntListInputFieldParam.Instantiate(parent, parameter, 0, "Hit Types");
     IntDropdownParam.Instantiate(parent, parameter, 3, "Box IDs Options", listingOptions);
     IntListInputFieldParam.Instantiate(parent, parameter, 1, "Box IDs");
     BoolToggleParam.Instantiate(parent, parameter, 0, "Single Subject");
 }
コード例 #8
0
 public override void Build(GameObject parent, GenericParameter parameter)
 {
     StringInputFieldParam.Instantiate(parent, parameter, 0, "Effect");
     IntDropdownParam.Instantiate(parent, parameter, 0, "Location", spawnLocation);
     IntInputFieldParam.Instantiate(parent, parameter, 1, "Lifetime");
     BoolToggleParam.Instantiate(parent, parameter, 0, "Local space");
     FloatInputFieldParam.Instantiate(parent, parameter, 0, "Offset X:");
     FloatInputFieldParam.Instantiate(parent, parameter, 1, "Offset Y:");
     FloatInputFieldParam.Instantiate(parent, parameter, 2, "Offset Z:");
 }
コード例 #9
0
 protected static void InstantiateNumeratorVar(GameObject parent, GenericParameter parameter, int numeratorParamId, int varParamId)
 {
     string[] subjects         = CharacterEditor.Instance.AvailableSubjects();
     string[] subjectsPlusNone = new string[subjects.Length + 2];
     subjectsPlusNone[0] = "none";
     subjectsPlusNone[1] = "global variable";
     subjects.CopyTo(subjectsPlusNone, 2);
     IntDropdownParam.Instantiate(parent, parameter, numeratorParamId, "Numerator Subject:", subjectsPlusNone);
     StringInputFieldParam.Instantiate(parent, parameter, varParamId, "Numerator Variable:");
 }
コード例 #10
0
 public override void Build(GameObject parent, GenericParameter parameter)
 {
     StringInputFieldParam.Instantiate(parent, parameter, 0, "Parameter Name:");
     IntDropdownParam.Instantiate(parent, parameter, 0, "From:", variableFromOptions);
     StringInputFieldParam.Instantiate(parent, parameter, 1, "From variable:");
     IntInputFieldParam.Instantiate(parent, parameter, 1, "Variable minimum value:");
     IntInputFieldParam.Instantiate(parent, parameter, 2, "Variable maximum value:");
     FloatInputFieldParam.Instantiate(parent, parameter, 0, "Custom Value:");
     FloatInputFieldParam.Instantiate(parent, parameter, 1, "Delay time (seconds):");
     FloatInputFieldParam.Instantiate(parent, parameter, 2, "Interpolation time (seconds):");
 }
コード例 #11
0
 public override void Build(GameObject parent, GenericParameter parameter)
 {
     InstantiateSubject(parent, parameter, 0);
     StringInputFieldParam.Instantiate(parent, parameter, 0, "Effect");
     IntDropdownParam.Instantiate(parent, parameter, 1, "Localtion:", spawnLocation);
     IntInputFieldParam.Instantiate(parent, parameter, 2, "Location anchor ID:");
     BoolToggleParam.Instantiate(parent, parameter, 0, "Local Space:");
     IntDropdownParam.Instantiate(parent, parameter, 3, "Facing options:", hurtFacingOptions);
     FloatInputFieldParam.Instantiate(parent, parameter, 0, "Offset X:");
     FloatInputFieldParam.Instantiate(parent, parameter, 1, "Offset Y:");
     FloatInputFieldParam.Instantiate(parent, parameter, 2, "Offset Z:");
 }
コード例 #12
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:");
 }
コード例 #13
0
 private void BuildStandard(GameObject parent, GenericParameter parameter)
 {
     IntDropdownParam.Instantiate(parent, parameter, 0, "Type:", hitTypeOptions);
     IntInputFieldParam.Instantiate(parent, parameter, 1, "Damage");
     IntDropdownParam.Instantiate(parent, parameter, 2, "Hitten Facing:", facingOptions);
 }
コード例 #14
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");
 }
コード例 #15
0
 public override void Build(GameObject parent, GenericParameter parameter)
 {
     IntDropdownParam.Instantiate(parent, parameter, 0, "From:", textFromOptions);
     StringInputFieldParam.Instantiate(parent, parameter, 0, "From Variable:");
     StringInputFieldParam.Instantiate(parent, parameter, 1, "Custom Text:");
 }
コード例 #16
0
 private static void InstantiateArithmeticField(GameObject parent, GenericParameter parameter, int paramId)
 {
     IntDropdownParam.Instantiate(parent, parameter, paramId, "Operator:", arithmeticOptions);
 }
コード例 #17
0
 public override void Build(GameObject parent, GenericParameter parameter)
 {
     InstantiateSubject(parent, parameter, 0);
     IntDropdownParam.Instantiate(parent, parameter, 1, "Button:", inputButtonOptions);
     BoolToggleParam.Instantiate(parent, parameter, 0, "Consume Release Event");
 }
コード例 #18
0
 protected static void InstantiateSubject(GameObject parent, GenericParameter parameter, int paramId, string description = "Subject:")
 {
     IntDropdownParam.Instantiate(parent, parameter, paramId, description, CharacterEditor.Instance.AvailableSubjects());
 }