public void SetReference(GameObject[] Refs)//Environment에서 호출 { Player = Refs[0].GetComponent <Drone>(); MainHuman = Refs[1]; GameObject[] tempRefs = new GameObject[3]; tempRefs[0] = Refs[0]; //Drone Object tempRefs[1] = Refs[0].transform.Find("Claw").gameObject; //Claw tempRefs[2] = LiftButtonBG; //리프팅 버튼 Ani //LiftButton.SendMessage("SetReference", tempRefs);//드론, Claw, GrabModeCtrl tempRefs = new GameObject[2]; tempRefs[0] = Refs[0]; tempRefs[1] = Refs[1]; BatteryChangeButton.SendMessage("SetReference", tempRefs); swipeController.SetReference(tempRefs); }