Commit Graph
12 Commits
Author SHA1 Message Date
Haï~ cca33c83da Make sure State and SSM names don't contain a period '.':
- If the name of a state contains a period ".", it can cause the animator to misbehave, so sanitize it.
  - Transitions would not work properly during the runtime execution of the animator.
  - Apparently this is because sub state machines internally use the dot as a separator.
  - Sanitize the name so that menu state names such as "J. Inner" don't mess things up.
2024-08-19 01:49:37 +02:00
Haï~ 01724155b0 Fix Any state transitions will be created from SSMs:
- Due to an implementation error, creating Any state transitions previously did not have any effect in the graph.
- This now creates Any state from the root machine.
- Sub-state machines "cannot" have Any state transitions created directly from them.
- Internally, Any always comes from the root state machine, but visually in the graph, it will come from the sub-state machine.
2024-08-19 01:40:08 +02:00
Haï~ 68e20a0ffb (BREAKING) Make constructors non-public:
- Fix inconsistency where constructors were public.
2024-08-18 07:02:01 +02:00
Haï~ 0bddfdd7a3 (BREAKING) Replace public readonly fields with properties:
- Fix inconsistency by replacing public readonly fields with getter-only properties.
- Add PublicAPI annotation where it was missing.
2024-08-18 04:23:51 +02:00
Haï~ c47e49d516 Work towards correcting inconsistencies in the API:
- Rename *Percent to *Normalized.
- Update inline documentation.
- Add additional single-valued and array overloads.
- Add AacFlSettingCurveObjectReference.WithUnit to be on-par with AacFlSettingCurve.
2024-07-05 02:30:01 +02:00
Haï~ 52c64d97f9 Add AacFlState.WithMotionTime to replace AacFlState.MotionTime:
- Add AacFlState.WithMotionTime(...) to replace AacFlState.MotionTime()
- This is more in line with the function naming convention.
2024-07-03 12:56:40 +02:00
Haï~ c607eb938d Fix AacFlState.WithCycleOffset(AacFlFloatParameter floatParam) now correctly enables the parameter 2024-07-01 23:21:18 +02:00
Haï~ e50ea684a5 Do a pass on the documentation:
- Add and update inline documentation.
- Mark some inconsistencies.
- Not everything is reviewed yet.
2024-07-01 23:16:51 +02:00
Haï~ 582b109a82 Accomodate new VRCAnimatorPlayAudio requirements:
- Nodes need to know the Animator Root, so that relative paths can be resolved during the creation of State behaviours (i.e. Relative path of an AudioSource).
- Nodes need to have the ability to create a New Behaviour, even if one already exists.
2024-06-30 13:58:54 +02:00
Haï~ e0b43254a4 Extend name deduplication to sub-state machines 2023-10-04 00:39:13 +02:00
bd_ d7f7bec848 Avoid duplicate state names:
- When a state name is reused, Unity replaces it with a non-descriptive name
- Replace that state name to avoid duplication
2023-10-03 23:46:50 +02:00
Haï~ c07e47ca48 (PACKAGING) Change the folder structure for package format 2023-10-02 04:53:27 +02:00