UnityEditor.DeviceSimulatorModule.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?xml version="1.0" encoding="utf-8" standalone="yes"?>
  2. <doc>
  3. <members>
  4. <assembly>
  5. <name>UnityEditor.DeviceSimulatorModule</name>
  6. </assembly>
  7. <member name="T:UnityEditor.DeviceSimulation.DeviceSimulator">
  8. <summary>
  9. <para>Class for interacting with a Device Simulator window from a script.</para>
  10. </summary>
  11. </member>
  12. <member name="?:UnityEditor.DeviceSimulation.DeviceSimulator.touchScreenInput(System.Action`1&lt;UnityEditor.DeviceSimulation.TouchEvent&gt;)">
  13. <summary>
  14. <para>Event invoked when the screen of the simulated device is clicked.</para>
  15. </summary>
  16. <param name="value"></param>
  17. </member>
  18. <member name="T:UnityEditor.DeviceSimulation.DeviceSimulatorPlugin">
  19. <summary>
  20. <para>Extend this class to create a Device Simulator plug-in.</para>
  21. </summary>
  22. </member>
  23. <member name="P:UnityEditor.DeviceSimulation.DeviceSimulatorPlugin.deviceSimulator">
  24. <summary>
  25. <para>Device Simulator in which this plug-in is instantiated.</para>
  26. </summary>
  27. </member>
  28. <member name="P:UnityEditor.DeviceSimulation.DeviceSimulatorPlugin.title">
  29. <summary>
  30. <para>Title for the plug-in UI.</para>
  31. </summary>
  32. </member>
  33. <member name="M:UnityEditor.DeviceSimulation.DeviceSimulatorPlugin.OnCreate">
  34. <summary>
  35. <para>Called when Unity creates the Device Simulator window.</para>
  36. </summary>
  37. </member>
  38. <member name="M:UnityEditor.DeviceSimulation.DeviceSimulatorPlugin.OnCreateUI">
  39. <summary>
  40. <para>The VisualElement that this method returns is embedded in the Device Simulator window. If the method returns null, plug-in UI is not embedded.</para>
  41. </summary>
  42. </member>
  43. <member name="M:UnityEditor.DeviceSimulation.DeviceSimulatorPlugin.OnDestroy">
  44. <summary>
  45. <para>Called when Device Simulator window is destroyed.</para>
  46. </summary>
  47. </member>
  48. <member name="T:UnityEditor.DeviceSimulation.TouchEvent">
  49. <summary>
  50. <para>Representation of a single touch event coming from a Device Simulator. Subscribe to DeviceSimulator.touchScreenInput to receive these events.</para>
  51. </summary>
  52. </member>
  53. <member name="P:UnityEditor.DeviceSimulation.TouchEvent.phase">
  54. <summary>
  55. <para>Phase of the touch event.</para>
  56. </summary>
  57. </member>
  58. <member name="P:UnityEditor.DeviceSimulation.TouchEvent.position">
  59. <summary>
  60. <para>On-screen position of the touch event. The zero point is at the bottom-left corner of the screen in pixel coordinates.</para>
  61. </summary>
  62. </member>
  63. <member name="P:UnityEditor.DeviceSimulation.TouchEvent.touchId">
  64. <summary>
  65. <para>The unique identifier for the touch. Unity reuses identifiers after the touch ends.</para>
  66. </summary>
  67. </member>
  68. <member name="T:UnityEditor.DeviceSimulation.TouchPhase">
  69. <summary>
  70. <para>Indicates where in its lifecycle a given touch is.</para>
  71. </summary>
  72. </member>
  73. <member name="F:UnityEditor.DeviceSimulation.TouchPhase.Began">
  74. <summary>
  75. <para>A touch has begun. Only the first touch event in any given touch will have this phase.</para>
  76. </summary>
  77. </member>
  78. <member name="F:UnityEditor.DeviceSimulation.TouchPhase.Canceled">
  79. <summary>
  80. <para>A touch has ended in a way other than through user interaction.</para>
  81. </summary>
  82. </member>
  83. <member name="F:UnityEditor.DeviceSimulation.TouchPhase.Ended">
  84. <summary>
  85. <para>A touch has ended. Only the last touch event in a given touch will have this phase.</para>
  86. </summary>
  87. </member>
  88. <member name="F:UnityEditor.DeviceSimulation.TouchPhase.Moved">
  89. <summary>
  90. <para>A touch has changed position.</para>
  91. </summary>
  92. </member>
  93. <member name="F:UnityEditor.DeviceSimulation.TouchPhase.Stationary">
  94. <summary>
  95. <para>A touch has not moved.</para>
  96. </summary>
  97. </member>
  98. </members>
  99. </doc>