示例#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
文件: intro.cs 项目: Minstreams/Plane
 private void Start()
 {
     gs = GameObject.FindGameObjectWithTag("GameManager").GetComponent <GameSystemOld>();
 }