Skip to content

Commit

Permalink
Fix compilation errors for ecs integration
Browse files Browse the repository at this point in the history
  • Loading branch information
hadashiA committed May 1, 2021
1 parent a7f44e1 commit a3d30f4
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,15 @@ public sealed class SystemRegistrationBuilder : RegistrationBuilder
readonly string worldName;
Type systemGroupType;

internal SystemRegistrationBuilder(
Type implementationType,
string worldName,
List<Type> interfaceTypes = null)
: base(implementationType, default, interfaceTypes)
internal SystemRegistrationBuilder(Type implementationType, string worldName)
: base(implementationType, default)
{
this.worldName = worldName;
InterfaceTypes = InterfaceTypes ?? new List<Type>();
InterfaceTypes.Add(typeof(ComponentSystemBase));
InterfaceTypes.Add(ImplementationType);
InterfaceTypes = new List<Type>
{
typeof(ComponentSystemBase),
typeof(ImplementationType)
};
}

public override IRegistration Build()
Expand Down

0 comments on commit a3d30f4

Please sign in to comment.