예제 #1
0
    public void Die()
    {
        Ragdoll r = (Instantiate(ragdoll, transform.position, transform.rotation) as GameObject).GetComponent <Ragdoll>();

        r.CopyPose(transform);
        Destroy(this.gameObject);
    }