Пример #1
0
 // Use this for initialization
 void Start()
 {
     b       = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <Bloom>();
     gs      = GameObject.FindGameObjectWithTag("GameManager").GetComponent <GameSystemOld>();
     oc      = b.bloomThresholdColor;
     seconds = 0;
     cRx     = transform.rotation.eulerAngles.x;
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     gs          = GameObject.FindGameObjectWithTag("GameManager").GetComponent <GameSystemOld>();
     produceTime = (int)(gs.secondsInADay / (PlaneNum * Time.deltaTime));
 }
Пример #3
0
 private void Start()
 {
     gs = GameObject.FindGameObjectWithTag("GameManager").GetComponent <GameSystemOld>();
 }