public override void Initialize() { base.Initialize(); //Show only the virtual controllers supported on this platform VirtualControllerTypes[] vcTypes = EnumUtility.GetValues <VirtualControllerTypes> .EnumValues; for (int i = 0; i < vcTypes.Length; i++) { VirtualControllerTypes vControllerType = vcTypes[i]; //Continue if not supported if (VControllerHelper.IsVControllerSupported(vControllerType, TRBotOSPlatform.CurrentOS) == false) { continue; } CachedVCTypesStr += vControllerType.ToString(); if (i < (vcTypes.Length - 1)) { CachedVCTypesStr += ", "; } } }