Unity 代碼改宏定義

兩個函數 PlayerSettings.GetScriptingDefineSymbolsForGroup(targetGroup); //全部宏定義 ; 分割 PlayerSettings.SetScriptingDefineSymbolsForGroup(targetGroup, sz); //寫入所有宏,至關於改配置 使用筆記 須要考慮一組宏定義的互斥問題,要保持不改動的宏不變,示例代碼以下
相關文章
相關標籤/搜索