| 12345678910111213141516171819202122232425 | 
							- using UnityEngine;
 
- using System.Collections;
 
- using System.Collections.Generic;
 
- namespace VoxelImporter
 
- {
 
-     public class RigidbodyEnable : MonoBehaviour
 
-     {
 
-         protected Rigidbody rb;
 
-         void Awake()
 
-         {
 
-             rb = GetComponent<Rigidbody>();
 
-             if (rb == null)
 
-             {
 
-                 Destroy(this);
 
-             }
 
-         }
 
-         void OnCollisionEnter()
 
-         {
 
-             rb.isKinematic = false;
 
-         }
 
-     }
 
- }
 
 
  |