private void Start() { playerMoveController = FindObjectOfType <PlayerMoveController>(); blockCreatorContoller = FindObjectOfType <BlockCreatorContoller>(); blockFlyingTimer = GetComponent <BlockFlyingTimer>(); goldenCubeScore = FindObjectOfType <GoldenCubeScore>(); }
private void Start() { block = GameObject.FindGameObjectWithTag("block"); block_GO = GameObject.FindGameObjectWithTag("block_GO"); block_Rigidbody = block_GO.GetComponent <Rigidbody>(); pogruzhikMoveController = FindObjectOfType <PogruzhikMoveController>(); blockFlyingTimer = FindObjectOfType <BlockFlyingTimer>(); }