Ejemplo n.º 1
0
    void LoadGameObjects()
    {
        Square = DefaultFunction.Instance.LoadPrefab("Square");

        m_GridSprite = DefaultFunction.Instance.LoadSprite(EnumUtility.EnumToString(CGridManager.Instance.m_GridImage));

        SpriteWidth = m_GridSprite.rect.width / m_GridSprite.pixelsPerUnit;
    }