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:"); }
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"); }
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); }
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:"); }
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); }
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"); }
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"); }
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:"); }
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:"); }
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):"); }
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:"); }
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:"); }
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); }
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"); }
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:"); }
private static void InstantiateArithmeticField(GameObject parent, GenericParameter parameter, int paramId) { IntDropdownParam.Instantiate(parent, parameter, paramId, "Operator:", arithmeticOptions); }
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"); }
protected static void InstantiateSubject(GameObject parent, GenericParameter parameter, int paramId, string description = "Subject:") { IntDropdownParam.Instantiate(parent, parameter, paramId, description, CharacterEditor.Instance.AvailableSubjects()); }