从MVC 2到MVC 4c:\inetpub\wwwroot\Views\SurveySession\Index.aspx(7,13): error CS1061: 'objectc:\inetpub\wwwroot\Views\SurveySession\Index.aspx(12,38): error CS1061: 'object' does not contain a definitionc:\inetpub\wwwroot\Views\SurveySession\Review
我需要通过字符串变量从对象中获取组件。我该怎么做呢?Canvas.GetComponent<Global_Variables>().Active_Figure.GetComponent(Script_Name).Cancel();
资产/脚本/Cell.cs(62,20):error CS1061: Type UnityEngine.Component‘不包含取消的定义,也不包