Пример #1
0
 // Use this for initialization
 void Awake()
 {
     instance = this;
     up       = GetComponent <FingerUpDetector>();
     motion   = GetComponent <FingerMotionDetector>();
     down     = GetComponent <FingerDownDetector>();
 }
Пример #2
0
 void Awake()
 {
     if(mInst == null) mInst = this;
 }
Пример #3
0
 //    % matrix_A =
 //%
 //%     0.0013   -0.0009   -0.0000  270.4534
 //%    -0.0006   -0.0004    0.0000    1.2637
 //%    -0.0023   -0.0030    0.0000  285.0540
 //%     0         0         0       1
 // Transformation matrix
 void Start()
 {
     handFingers = rightHand.GetComponent<FingerManager>();
     client = Pipe.GetComponent<Client>();
 }
Пример #4
0
 void Awake()
 {
     fingerManager = FingerManager.instance;
 }