mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-30 21:48:47 +00:00
update UniTask sample
This commit is contained in:
@@ -41,7 +41,15 @@ public class TestTask : MonoBehaviour
|
|||||||
|
|
||||||
YooAssets/Samples/UniTask Sample/UniTask/Runtime/External/YooAsset目录
|
YooAssets/Samples/UniTask Sample/UniTask/Runtime/External/YooAsset目录
|
||||||
|
|
||||||
4. 重启Unity引擎
|
4. 添加引擎里的宏定义
|
||||||
|
|
||||||
|
Project Settings --> Player --> Scripting Define Symbols
|
||||||
|
|
||||||
|
```
|
||||||
|
UNITASK_YOOASSET_SUPPORT
|
||||||
|
```
|
||||||
|
|
||||||
|
5. 重启Unity引擎
|
||||||
|
|
||||||
重新打开工程后用上面的代码示例验证,看下是否有编译错误!
|
重新打开工程后用上面的代码示例验证,看下是否有编译错误!
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user