Пример #1
0
 override protected void initImpl(ResItem res)
 {
     m_controller = res.getObject(res.getPrefabName()) as SOAnimatorController;
     base.initImpl(res);
 }
Пример #2
0
 public void addAnimator2SO(SOAnimatorController soAnimator)
 {
     string assetsImagePath = ExportUtil.convFullPath2AssetsPath(m_fullPath);
     RuntimeAnimatorController asset = AtlasPrefabUtil.loadAllAsset<RuntimeAnimatorController>(assetsImagePath);
     soAnimator.addAnimator(m_subPathNoExt, asset);
 }