SW 중심대학 OSS GIT 서버 박건태, 이승준, 고기완, 이준호 새로운 배포
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

32 lines
1.0 KiB

namespace UnityEngine.XR.Management.Tests.Standalone
{
namespace Providing
{
public class StandaloneSubsystemParams
{
public string id { get; set;}
public System.Type subsystemImplementationType { get; set; }
public StandaloneSubsystemParams(string id, System.Type subsystemImplType)
{
this.id = id;
this.subsystemImplementationType = subsystemImplType;
}
}
}
public class StandaloneSubsystemDescriptor : SubsystemDescriptor<StandaloneSubsystem>
{
public static void Create(Providing.StandaloneSubsystemParams parms)
{
SubsystemRegistration.CreateDescriptor(new StandaloneSubsystemDescriptor(parms.id, parms.subsystemImplementationType));
}
public StandaloneSubsystemDescriptor(string id, System.Type subsystemImplType)
{
this.id = id;
this.subsystemImplementationType = subsystemImplType;
}
}
}