Пример #1
0
 void Start()
 {
     upSrc      = localUp3DOFSrc.GetComponent <I3DOF>();
     rightSrc   = localRight3DOFSrc.GetComponent <I3DOF>();
     forwardSrc = localForward3DOFSrc.GetComponent <I3DOF>();
     isLocalSrc = isLocalBoolSrc.GetComponent <IBool>();
 }
Пример #2
0
 void Start()
 {
     moveSrc        = move3DOFSrcGO.GetComponent <I3DOF>();
     tapDownSrc     = tapDownEventSrcGO.GetComponent <IEvent>();
     tapUpSrc       = tapUpEventSrcGO.GetComponent <IEvent>();
     tapDownSrc.ev += () =>
     {
         isDrawing  = true;
         startPoint = moveSrc.GetAxes();
     };
     tapUpSrc.ev += () =>
     {
         isDrawing = false;
         endPoint  = startPoint;
     };
 }
Пример #3
0
 void Start()
 {
     src = src3DOFGO.GetComponent <I3DOF>();
 }
Пример #4
0
 void Start()
 {
     visSrc      = vis3DOFSrcGO.GetComponent <I3DOF>();
     positionSrc = position3DOFSrcGO.GetComponent <I3DOF>();
 }
Пример #5
0
 void Start()
 {
     velocitySrc = velocity3DOFSrcGO.GetComponent <I3DOF>();
 }
Пример #6
0
 void Awake()
 {
     rotation2DOF = rotation2DOFSrc.GetComponent <I2DOF>();
     up3DOF       = up3DOFSrc.GetComponent <I3DOF>();
     right3DOF    = right3DOFSrc.GetComponent <I3DOF>();
 }
Пример #7
0
 void Start()
 {
     forwardSrc = forward3DOF.GetComponent <I3DOF>();
     rightSrc   = right3DOF.GetComponent <I3DOF>();
     motionSrc  = motion2DOF.GetComponent <I2DOF>();
 }
Пример #8
0
 void Start()
 {
     rotationSrc = rotation1DOFSrcGO.GetComponent <I1DOF>();
     pointSrc    = point3DOFSrcGO.GetComponent <I3DOF>();
 }