public override void Object_Drop() { if (_IE_Grabling) { return; } _TAGET_CONV = S_A_GameRoom.GetInstance().GetNearCoveers(transform.position, transform.forward); if (_TAGET_CONV) { GameObject[] POSITS = _TAGET_CONV.GetPosit().GetNearPosit(transform.position); _TAGET_CONV_POSIT = POSITS[0]; _TAGET_CONV_NAP = POSITS[1]; StartCoroutine(IE_LAY()); return; } StartCoroutine(IE_DROP()); }
void Update() { _Time += Time.deltaTime; if (_Time < 0.1f) { return; } _Time = 0; if (_Handcontll && _Handcontll.Is_Grabed() && _Handcontll.Is_Ready()) { S_Conveer CV = _Room.GetNearCoveers(transform.position, transform.forward); if (CV != null) { _TAGET_OBJ.transform.position = CV._Point_Posit.transform.position; SET_ACT_TAGET(true); return; } } SET_ACT_TAGET(false); }