void Start() { useGUILayout = false; dimmer = GameObject.Find("Dimmer").GetComponent <DimAnimate>(); displayCardCanvas = GameObject.FindGameObjectWithTag("displaycard").GetComponent <DisplayCardCanvas>(); MeshRenderer deckText = GameObject.Find("Deck count").GetComponent <MeshRenderer>(); deckText.sortingLayerName = "PlayBoard bg"; deckText.sortingOrder = 1; }
void Start() { useGUILayout = false; playerObject = GameObject.FindGameObjectWithTag("Player"); playButton = GameObject.Find("play end button").GetComponent <ButtonAnimate> (); displayCardCanvas = GameObject.FindGameObjectWithTag("displaycard").GetComponent <DisplayCardCanvas>(); eventSystem = GameObject.FindGameObjectWithTag("eventsystem").GetComponent <EventSystem>(); }
void Start() { useGUILayout = false; dimmer = GameObject.Find ("Dimmer").GetComponent<DimAnimate>(); displayCardCanvas = GameObject.FindGameObjectWithTag("displaycard").GetComponent<DisplayCardCanvas>(); MeshRenderer deckText = GameObject.Find("Deck count").GetComponent<MeshRenderer>(); deckText.sortingLayerName = "PlayBoard bg"; deckText.sortingOrder = 1; }
void Start() { useGUILayout = false; playerObject = GameObject.FindGameObjectWithTag ("Player"); playButton = GameObject.Find ("play end button").GetComponent<ButtonAnimate> (); displayCardCanvas = GameObject.FindGameObjectWithTag("displaycard").GetComponent<DisplayCardCanvas>(); eventSystem = GameObject.FindGameObjectWithTag("eventsystem").GetComponent<EventSystem>(); }