void Start() { // 플레이어 충돌 콜라이더 값 player_collider = PlayerMove.GetComponent <Collider>(); //팅커벨 무브-알파값 tinkerBellPath = PathObject.GetComponent <PathFollower>(); renderer = Pathmodel.GetComponentsInChildren <Renderer>(); //renderer = new Renderer[]; // PointLamp_Renderer = new Renderer[PointLampModl.Length]; //팅커벨 파티클 event_TinkerBellEnter = Enter_TinkerBell.GetComponentInChildren <ParticleSystem>(); //플레이어 move playerController = GameObject.FindObjectOfType <Player_HJ>(); _animator = playerModeling.GetComponent <Animator>(); //등불 퍼즐 스크립트 coliderscript = GameObject.FindObjectOfType <ColliderMgr>(); Enter_TinkerBell.gameObject.SetActive(false); This_colider = this.gameObject.GetComponentInChildren <BoxCollider>(); // renderer.material.color = new Color(0, 0, 0, 0); }
void Start() { colliderManager = FindObjectOfType <ColliderMgr>(); }