// 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; }
// Use this for initialization void Start() { gs = GameObject.FindGameObjectWithTag("GameManager").GetComponent <GameSystemOld>(); produceTime = (int)(gs.secondsInADay / (PlaneNum * Time.deltaTime)); }
private void Start() { gs = GameObject.FindGameObjectWithTag("GameManager").GetComponent <GameSystemOld>(); }