// Use this for initialization private void Start() { spawnTime = Time.fixedTime; gm = GameObject.Find("GameManager"); ps = gm.GetComponent(typeof(PlayerStatus)) as PlayerStatus; gm = GameObject.Find("ArrowIndicator"); pa = gm.GetComponent <PointArrows>(); }
// Use this for initialization void Start() { gameStart = Time.fixedTime; go = GameObject.Find("SpawnGround"); sg = go.GetComponent(typeof(SpawnGround)) as SpawnGround; go = GameObject.Find("ArrowIndicator"); pa = go.GetComponent <PointArrows>(); }