1
This commit is contained in:
@@ -19,16 +19,6 @@ namespace BITFactory.Cutting
|
||||
[Export("位置")] private Vector3 point;
|
||||
[Export("半径")] private float radius = 0.01f;
|
||||
|
||||
public override unsafe void* GetExport(string name)
|
||||
{
|
||||
var x = __makeref(radius);
|
||||
return name switch
|
||||
{
|
||||
nameof(radius) => UnsafeUtility.AddressOf(ref radius),
|
||||
nameof(point) => UnsafeUtility.AddressOf(ref point),
|
||||
_ => base.GetExport(name)
|
||||
};
|
||||
}
|
||||
|
||||
[Export("确认")]
|
||||
private void Release()
|
||||
|
Reference in New Issue
Block a user