目录结构调整
This commit is contained in:
@@ -1,38 +0,0 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace PhysicsTools
|
||||
{
|
||||
[Serializable]
|
||||
public class SerializedSoftJointLimitSpring
|
||||
{
|
||||
public float spring = 30000f;
|
||||
|
||||
public float damper = 30000f;
|
||||
|
||||
public SerializedSoftJointLimitSpring()
|
||||
{
|
||||
spring = 30000f;
|
||||
damper = 30000f;
|
||||
}
|
||||
|
||||
private SerializedSoftJointLimitSpring(SoftJointLimitSpring c)
|
||||
{
|
||||
damper = c.damper;
|
||||
spring = c.spring;
|
||||
}
|
||||
|
||||
public static implicit operator SoftJointLimitSpring(SerializedSoftJointLimitSpring c)
|
||||
{
|
||||
SoftJointLimitSpring result = default(SoftJointLimitSpring);
|
||||
result.spring = c.spring;
|
||||
result.damper = c.damper;
|
||||
return result;
|
||||
}
|
||||
|
||||
public static explicit operator SerializedSoftJointLimitSpring(SoftJointLimitSpring c)
|
||||
{
|
||||
return new SerializedSoftJointLimitSpring(c);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user