Esempio n. 1
0
 void Start()
 {
     print("testing compile specific");
     origin          = Camera.main.gameObject.transform.position;
     obj             = null;
     drag            = false;
     rotating        = false;
     startVector     = Vector2.zero;
     checkLensButton = GameObject.FindGameObjectWithTag("ActiveLens").GetComponent <ActivateLens>();
     RoCSlider       = GameObject.Find("RoCSlider").GetComponent <Slider>();
     NIndexSlider    = GameObject.Find("NIndexSlider").GetComponent <Slider>();
 }
Esempio n. 2
0
 void Start()
 {
     checkButton = GameObject.FindGameObjectWithTag("ActiveLens").GetComponent <ActivateLens>();
     activeScene = checkButton.active;
     Num1        = -22.29F; //use two different numbers because light physics has slight discrepancy for objects > 1 on concavelens
 }