15 lines
352 B
C#
15 lines
352 B
C#
|
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;
|
||
|
}
|
||
|
}
|