コード例 #1
0
 /// <summary>
 /// Initializes this instance of <see cref="PointerManager"/> class.
 /// </summary>
 /// <exception cref="NotSupportedException">Is thrown when this functionality is not supported on current platform</exception>
 public void Initialize()
 {
     // TODO: assume Initialize is called only once. Implement cleanup in case if it is called several times.
     platform = ToDispose(PointerPlatform.Create(game.Window.NativeWindow, this));
 }
コード例 #2
0
 /// <summary>
 /// Initializes this instance of <see cref="PointerManager"/> class.
 /// </summary>
 /// <exception cref="NotSupportedException">Is thrown when this functionality is not supported on current platform</exception>
 public void Initialize()
 {
     // TODO: assume Initialize is called only once. Implement cleanup in case if it is called several times.
     platform =  ToDispose(PointerPlatform.Create(game.Window.NativeWindow, this));
 }