private void Start() { rb = this.GetComponent <Rigidbody2D>(); sfx = this.GetComponent <ObjectSoundController>(); objectSyncController = GameObject.Find("ObjectSyncManager").GetComponent <ObjectSyncController>(); }
// Start is called before the first frame update void Start() { middlePosition = this.transform.parent.position; // 추후 수정 objectSyncController = GameObject.Find("ObjectSyncManager").GetComponent <ObjectSyncController>(); }