コード例 #1
0
    public static void RefreshTintmap(BoundsInt position)
    {
        TintTextureGenerator instance = FindObjectOfType <TintTextureGenerator>();

        if (instance != null)
        {
            instance.Refresh(position);
        }
    }
コード例 #2
0
    public static void RefreshTintmap()
    {
        TintTextureGenerator instance = FindObjectOfType <TintTextureGenerator>();

        if (instance != null)
        {
            instance.Refresh();
        }
    }