fix?
This commit is contained in:
3
Runtime/FPPKit/Code/FPPPlayerControllerAsset.cs
Normal file → Executable file
3
Runtime/FPPKit/Code/FPPPlayerControllerAsset.cs
Normal file → Executable file
@@ -6,9 +6,8 @@ namespace RebootKit.FPPKit {
|
||||
public class FPPPlayerControllerAsset : ControllerAsset {
|
||||
[SerializeField] FPPPlayerController.Config m_Config;
|
||||
|
||||
public override IController Create(DIContext context) {
|
||||
public override IController Create() {
|
||||
FPPPlayerController instance = new(m_Config);
|
||||
context.Inject(instance);
|
||||
return instance;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user