override public void AttachLineRendererPathCtrl( Lyu.LineRendererPathCtrl lrCtrl) { foreach (MiroV1SubWeaponTooth wt in _Teeth) { var poser = wt.GetComponent <Lyu.GetPosOnLRPathCtrol> (); poser._lrPthCtrl = lrCtrl; } }
void ConfigAideeSubWeapon() { int aidDir = GetAidingRDir(); MiroModelV1 modelAidee = GetModelAidee(); if (aidDir >= 0 && aidDir <= 5) { Lyu.LineRendererPathCtrl pthCtrl = _PipeWdStartCtrl.GetComponent <Lyu.LineRendererPathCtrl> (); if (modelAidee != null) { modelAidee._WeaponSlots [aidDir]._Weapon .AttachLineRendererPathCtrl(pthCtrl); } //print ("AttachLineRendererPathCtrl"); } }
virtual public void AttachLineRendererPathCtrl(Lyu.LineRendererPathCtrl lrCtrl) { }