Beispiel #1
0
    void Awake()
    {
        hideGrid |= hideOnPlay;

        if (renderMaterial == null)
        {
            renderMaterial = defaultRenderMaterial;
        }

        GFGridRenderManager.AddGrid(this);
    }
Beispiel #2
0
    void Awake()
    {
        if (hideOnPlay)
        {
            hideGrid = true;
        }

        if (renderMaterial == null)
        {
            renderMaterial = defaultRenderMaterial;
        }

        GFGridRenderManager.AddGrid(this);
    }