//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2021 loyalsoft. All rights reserved.
// Homepage: http://www.game7000.com/
// Feedback: http://www.game7000.com/
//------------------------------------------------------------
using GameFramework;
namespace UnityGameFramework.Runtime
{
///
/// System.SByte 变量类。
///
public sealed class VarSByte : Variable
{
///
/// 初始化 System.SByte 变量类的新实例。
///
public VarSByte()
{
}
///
/// 从 System.SByte 到 System.SByte 变量类的隐式转换。
///
/// 值。
public static implicit operator VarSByte(sbyte value)
{
VarSByte varValue = ReferencePool.Acquire();
varValue.Value = value;
return varValue;
}
///
/// 从 System.SByte 变量类到 System.SByte 的隐式转换。
///
/// 值。
public static implicit operator sbyte(VarSByte value)
{
return value.Value;
}
}
}