//GameManager _gameManager; void Awake() { _fenceManager = GameObject.FindGameObjectWithTag(Tags.FenceManager).GetComponent<FenceManager>(); //_gameManager = GameObject.FindGameObjectWithTag(Tags.GameManager).GetComponent<GameManager>(); }
//GameManager _gameManager; void Awake() { _fenceManager = GameObject.FindGameObjectWithTag(Tags.FenceManager).GetComponent <FenceManager>(); //_gameManager = GameObject.FindGameObjectWithTag(Tags.GameManager).GetComponent<GameManager>(); }
// Use this for initialization void Start () { sInstance = this; HideFence (); }