(BREAKING) Make AacFlController.AnimatorController read-only:

- Breaking changes:
  - Make AacFlController.AnimatorController read-only.
This commit is contained in:
Haï~
2024-07-01 23:21:18 +02:00
parent 0afabd9fd6
commit 3ecefd7f4a
@@ -83,6 +83,7 @@ namespace AnimatorAsCode.V1
return ContainerMode == Container.Everything ? AssetContainer : null; return ContainerMode == Container.Everything ? AssetContainer : null;
} }
/// Values that define how created assets should be added to the AssetContainer.
public enum Container public enum Container
{ {
/// Store all created assets in the AssetContainer. /// Store all created assets in the AssetContainer.
@@ -682,7 +683,7 @@ namespace AnimatorAsCode.V1
public class AacFlController public class AacFlController
{ {
/// Exposes the underlying Unity AnimatorController. /// Exposes the underlying Unity AnimatorController.
public AnimatorController AnimatorController; public readonly AnimatorController AnimatorController;
private readonly AacConfiguration _configuration; private readonly AacConfiguration _configuration;
private readonly AacFlBase _base; private readonly AacFlBase _base;