コード例 #1
0
    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;
    }
コード例 #2
0
    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>();
    }
コード例 #3
0
ファイル: GameControlGUI.cs プロジェクト: kenning/popul-vuh
 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;
 }
コード例 #4
0
ファイル: ClickControl.cs プロジェクト: kenning/popul-vuh
    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>();
    }