SignalingSettingsObject.cs 443 B

1234567891011121314151617
  1. using UnityEngine;
  2. namespace Unity.RenderStreaming
  3. {
  4. internal class SignalingSettingsObject : ScriptableObject
  5. {
  6. [SerializeReference]
  7. public SignalingSettings settings;
  8. public static SignalingSettingsObject Create()
  9. {
  10. var instance = CreateInstance<SignalingSettingsObject>();
  11. instance.settings = new WebSocketSignalingSettings();
  12. return instance;
  13. }
  14. }
  15. }