1234567891011121314151617181920212223242526272829303132333435 |
-
- namespace NRKernal
- {
- using System.Collections.Generic;
- using UnityEngine;
- [System.Serializable]
- public class NRProjectConfig: ScriptableObject
- {
- public List<NRDeviceType> targetDeviceTypes = new List<NRDeviceType> {
- NRDeviceType.NrealLight,
- NRDeviceType.NrealAir,
- };
- public string GetTargetDeviceTypesDesc()
- {
- string devices = string.Empty;
- foreach (var device in targetDeviceTypes)
- {
- if (devices != string.Empty)
- devices += "|";
- devices += device;
- }
- return devices;
- }
- }
- }
|