public static void Send(GameObject playerToUncuff) { var msg = new RequestUncuffMessage { PlayerToUncuff = playerToUncuff.NetId() }; msg.Send(); }
/// <summary> /// Used for the right click action, sends a message requesting uncuffing /// </summary> public void TryUncuffThis() { RequestUncuffMessage.Send(gameObject); }