1
This commit is contained in:
@@ -42,13 +42,9 @@ namespace BITKit
|
||||
public static implicit operator T(References<T> self) => self.Get();
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
public record Reference : References
|
||||
[Serializable]
|
||||
public struct Reference : IReference
|
||||
{
|
||||
public Reference()
|
||||
{
|
||||
}
|
||||
|
||||
public Reference(string value)
|
||||
{
|
||||
this.value = value;
|
||||
@@ -57,8 +53,7 @@ namespace BITKit
|
||||
[UnityEngine.TextArea]
|
||||
#endif
|
||||
public string value;
|
||||
public override string Get() => value;
|
||||
public override string ToString() => value;
|
||||
public string Get() => value;
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
|
Reference in New Issue
Block a user