U3D学习使用笔记(二)

时间:2023-03-08 21:27:28

1.在移动端www.texture使用时不能实时加载纹理,www.LoadImageIntoTexture使用没问题

2.public FaceFeature FaceFeatureData

        {
            get { return mFaceFeature; }
            set { mFaceFeature = value; }
        }
类型调用结构体中自定义函数修改mFaceFeature,但是值并没发生改变
3.check.parent = scene.Find(index);check.gameObject.SetActive(true);这个执行顺序和check.gameObject.SetActive(true);check.parent = scene.Find(index);结果会对localPosition有影响
4.使用代码创建prefab时Couldn't create asset file!因为CreateAsset must take a path relative to the project