Ejemplo n.º 1
0
 // Causes this object to use the specified gameObject for colliison detection.
 protected void InitCollider(GameObject colliderGo)
 {
     _collider       = colliderGo.collider;
     _colliderCamera = VCUtils.GetCamera(colliderGo);
 }
 // Causes this object to use the specified gameObject for colliison detection.
 protected void InitCollider(GameObject colliderGo)
 {
     _collider       = colliderGo.GetComponent <Collider>();
     _colliderCamera = VCUtils.GetCamera(colliderGo);
 }