First commit
This commit is contained in:
18
Sample/Runtime/ExposedProperty/FloatProperty.cs
Normal file
18
Sample/Runtime/ExposedProperty/FloatProperty.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
|
||||
namespace Misaki.GraphView.Sample
|
||||
{
|
||||
[Serializable]
|
||||
public class FloatProperty : ExposedProperty
|
||||
{
|
||||
public float value;
|
||||
|
||||
public override object Value
|
||||
{
|
||||
get => value;
|
||||
set => this.value = (float) value;
|
||||
}
|
||||
|
||||
public override Type GetValueType() => typeof(float);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user