刚接触cocos creator没多久,想请问一下大佬们,
想访问GameController中properties里面的player对象,除了获取通过获取组件的方式,还能通过其他方式获取吗?
你可以把GameController作为访问其他脚本组件的properties
谢谢!
刚接触cocos creator没多久,想请问一下大佬们,
想访问GameController中properties里面的player对象,除了获取通过获取组件的方式,还能通过其他方式获取吗?
你可以把GameController作为访问其他脚本组件的properties
谢谢!