Guest User

Untitled

a guest
Oct 20th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.30 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class cubetrig : MonoBehaviour {
  5.  
  6.     // Use this for initialization
  7.     void Start () {
  8.    
  9.     }
  10.    
  11.     // Update is called once per frame
  12.     void Update () {
  13.    
  14.     }
  15.     void OnControllerColliderHit(ControllerColliderHit hit)
  16.     {
  17.         hit.SendMessage("newPF");
  18.     }
  19. }
Add Comment
Please, Sign In to add comment