[경고&에러 대응] `UnityEditor.EditorUtility' does not contain a definition for `GetAssetPreview' by pbkim

  1.  
  2. ....
  3. #if (UNITY_2_6 || UNITY_2_6_1 || UNITY_3_0 || UNITY_3_0_0 || UNITY_3_1 || UNITY_3_2 || UNITY_3_3 || UNITY_3_4 || UNITY_3_5 || UNITY_3_6 || UNITY_3_7 || UNITY_3_8 || UNITY_3_9)
  4.             bodyPreview  = (Texture2D)EditorUtility.GetAssetPreview(bodyObject);
  5. #else
  6.             bodyPreview  = (Texture2D)AssetPreview.GetAssetPreview(bodyObject);
  7. #endif
  8.  
  9. ...
  10.  
  11. #if (UNITY_2_6 || UNITY_2_6_1 || UNITY_3_0 || UNITY_3_0_0 || UNITY_3_1 || UNITY_3_2 || UNITY_3_3 || UNITY_3_4 || UNITY_3_5 || UNITY_3_6 || UNITY_3_7 || UNITY_3_8 || UNITY_3_9)
  12.             canonPreview  = (Texture2D)EditorUtility.GetAssetPreview(canonObject);
  13. #else
  14.             canonPreview  = (Texture2D)AssetPreview.GetAssetPreview(canonObject);
  15. #endif
  16.  
  17.  
  18.  


구글 468*60


Linked in

linknow profile