SetGlobalTexture() приватный Метод

private SetGlobalTexture ( int nameID, Texture tex ) : void
nameID int
tex Texture
Результат void
Пример #1
0
 public static void SetGlobalTexture(string propertyName, Texture tex)
 {
     Shader.SetGlobalTexture(Shader.PropertyToID(propertyName), tex);
 }
Пример #2
0
 public static void SetGlobalTexture(string name, Texture value)
 {
     Shader.SetGlobalTexture(Shader.PropertyToID(name), value);
 }