结构体列表怎样能显示在Inspector里面并进行副值
2015-07-18 · 知道合伙人软件行家
关注
展开全部
[System.Serializable]
public class MovingData
{
public float walkSpeed = 3.0f;
public float runSpeed = 10.0f;
public float inAirControlAcceleration = 1.0f;
}
public MovingData playerMovingData;
public class MovingData
{
public float walkSpeed = 3.0f;
public float runSpeed = 10.0f;
public float inAirControlAcceleration = 1.0f;
}
public MovingData playerMovingData;
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询