摘要:
public class CubeLogic : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Upd 阅读全文
摘要:
当 GameObject 要访问其它对象上的组件时,有下面两种方法 方法一(推荐) public class MainLogic : MonoBehaviour { public AudioSource bgm; // Start is called before the first frame u 阅读全文