코드 예제 1) 임의의 시간으로 설정해 둔 시간 뒤 작업 진행하기

    function OnCollisionEnter(other : Collision){

   if (other.gameObject.tag == "piece") {
        Debug.Log("Collided");
        gameObject.AddComponent(HingeJoint);
            var otherBody = other.gameObject.Rigidbody;
            hingeJoint.breakForce = 45;
            hingeJoint.breakTorque = 45;
            hingeJoint.connectedBody = otherBody;
        }
}
Posted by kevino
,