Exemplo n.º 1
0
 private void OnEnable()
 {
     suit_select = 0;
     suit_pre    = -1;
     shape       = RoleShape.FEMALE;
     if (fData == null)
     {
         fData = AssetDatabase.LoadAssetAtPath <FaceData>("Assets/BundleRes/Config/FaceData.asset");
     }
     if (paint == null)
     {
         paint = new FacePaint(fData);
     }
     if (bone == null)
     {
         bone = new FaceBone(fData);
     }
 }