更改文件架构
This commit is contained in:
15
Packages/Common~/Scripts/Provider/Multiplex.cs
Normal file
15
Packages/Common~/Scripts/Provider/Multiplex.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
namespace BITKit
|
||||
{
|
||||
public abstract class Multiplex : Provider, IProvider<bool>
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
[SerializeField] string remarks;
|
||||
#endif
|
||||
public bool active;
|
||||
public bool Get() => active;
|
||||
public void Set(bool x) => active = x;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user