架构大更
This commit is contained in:
@@ -3,20 +3,20 @@
|
||||
namespace MoreMountains.Tools
|
||||
{
|
||||
/// <summary>
|
||||
/// A class used to open a URL specified in its inspector
|
||||
/// A class used to open a URL specified in its inspector
|
||||
/// </summary>
|
||||
[AddComponentMenu("More Mountains/Tools/Utilities/MM Open URL")]
|
||||
public class MMOpenURL : MonoBehaviour
|
||||
{
|
||||
/// the URL to open when calling OpenURL()
|
||||
public string DestinationURL;
|
||||
public class MMOpenURL : MonoBehaviour
|
||||
{
|
||||
/// the URL to open when calling OpenURL()
|
||||
public string DestinationURL;
|
||||
|
||||
/// <summary>
|
||||
/// Opens the URL specified in the DestinationURL field
|
||||
/// </summary>
|
||||
public virtual void OpenURL()
|
||||
{
|
||||
Application.OpenURL(DestinationURL);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Opens the URL specified in the DestinationURL field
|
||||
/// </summary>
|
||||
public virtual void OpenURL()
|
||||
{
|
||||
Application.OpenURL(DestinationURL);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user