public void PullRope() { RopePullGame.RopePullRope.Instance.PullRope((int)_playerLookDirection * OwnCharacter.status.strength * PowerOffset); OwnCharacter.PullRopeAutoRelease(); _outlineshader.PlayLineEffect(); AudioManager.Instance.PlaySound(eSoundId.Pull); }
public void NetworkPullRope() { if (NetworkManager.Instance.isOwnHost) { NetworkManager.Instance.SendRequestRopePull(OwnCharacter.status.strength * -1); } else { NetworkManager.Instance.SendRequestRopePull(OwnCharacter.status.strength); } OwnCharacter.PullRopeAutoRelease(); _outlineshader.PlayLineEffect(); AudioManager.Instance.PlaySound(eSoundId.Pull); }