Advertisement
Guest User

Untitled

a guest
Oct 19th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.23 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. public class CollisionIgnore : MonoBehaviour {
  6.  
  7.     private void Awake()
  8.     {
  9.         Physics.IgnoreLayerCollision(11, 31, true);
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement