Rigidbody.WakeUp 唤醒

function WakeUp () : void

Description描述

Forces a rigidbody to wake up.

强制唤醒一个刚体。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	public void Awake() {
		rigidbody.WakeUp();
	}
}
rigidbody.WakeUp();
Page last updated: 2011-2-10