private RpcApplyRelativeForce ( float x, float y, float z ) : void | ||
x | float | |
y | float | |
z | float | |
return | void |
public void RpcApplyRelativeForce(float x, float y, float z)
{
if (isLocalPlayer)
{
this.character.GetComponent<Rigidbody>().AddRelativeForce(x, y, z);
this.controller.CdDisable = .5f;
}
}