Window.CloseWithResult
Declaration#
public virtual void CloseWithResult(WindowResult result)Parameters#
| Name | Description |
|---|---|
| result | Result to set |
Description#
Close the window with result
Usage#
Example
using NullSave.GDTK;using UnityEngine;
public class Example : MonoBehaviour{ public void ExampleMethod(Window target) { target.CloseWithResult(Window.WindowResult.OK); }}Declaration#
public virtual void CloseWithResult(Int32 result)Parameters#
| Name | Description |
|---|---|
| result | Result to set |
Description#
Close the window with result
Usage#
Example
using NullSave.GDTK;using UnityEngine;
public class Example : MonoBehaviour{ public void ExampleMethod(Window target) { target.CloseWithResult(1); }}