lua调用Getcomponent会返回一个套壳的空类型
解决方法:
equal方法是重写的,==重载是静态的,所以equal可以检测到。
可以参考:(18条消息) xLua下调用GetComponent时返回值不是nil的坑_gouki04的博客-CSDN博客
标签:调用,nil,c#,xlua,Getcomponent,返回值 From: https://www.cnblogs.com/mcyushao/p/16643083.html
lua调用Getcomponent会返回一个套壳的空类型
解决方法:
equal方法是重写的,==重载是静态的,所以equal可以检测到。
可以参考:(18条消息) xLua下调用GetComponent时返回值不是nil的坑_gouki04的博客-CSDN博客
标签:调用,nil,c#,xlua,Getcomponent,返回值 From: https://www.cnblogs.com/mcyushao/p/16643083.html