您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
28 行
680 B
28 行
680 B
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Unity.Services.Core.Editor
|
|
{
|
|
/// <summary>
|
|
/// An interface to allow you to control the enablement state of a service.
|
|
/// </summary>
|
|
public interface IEditorGameServiceEnabler
|
|
{
|
|
/// <summary>
|
|
/// Enables the service
|
|
/// </summary>
|
|
void Enable();
|
|
|
|
/// <summary>
|
|
/// Disables service.
|
|
/// </summary>
|
|
void Disable();
|
|
|
|
/// <summary>
|
|
/// Gets the enablement status of the service
|
|
/// </summary>
|
|
/// <returns>The status of the service</returns>
|
|
bool IsEnabled();
|
|
}
|
|
}
|