We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如题,环境全新,使用官方示例学习发现问题
The text was updated successfully, but these errors were encountered:
添加Title失败
Sorry, something went wrong.
原因是因为动态创建的时候( gameObject.AddComponent() )没有执行过 BaseChart.InitListForFieldInfos()
临时bug修正 打开BaseChart.Component.cs 找到函数 public bool CanAddChartComponent(Type type),修改为下面实现
`` public bool CanAddChartComponent(Type type) { if (!type.IsSubclassOf(typeof(MainComponent))) return false; #if UNITY_EDITOR if (UnityEditor.EditorApplication.isPlaying&&m_TypeListForComponent.Count == 0) { InitListForFieldInfos(); } #else if (!Application.isEditor&&m_TypeListForComponent.Count == 0){ InitListForFieldInfos(); } #endif if (!m_TypeListForComponent.ContainsKey(type)) return false; if (CanMultipleComponent(type)) return !HasChartComponent(type); else return true; }
No branches or pull requests
如题,环境全新,使用官方示例学习发现问题
The text was updated successfully, but these errors were encountered: