| ASLObjectSendAndIncrementWorldRotation Method |
Sends and adds to the world rotation of this object for all users
Namespace:
ASL
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public void SendAndIncrementWorldRotation(
Quaternion? _rotation,
GameLiftManagerOpFunctionCallback callback = null
)
Public Sub SendAndIncrementWorldRotation (
_rotation As Quaternion?,
Optional callback As GameLiftManagerOpFunctionCallback = Nothing
)
public:
void SendAndIncrementWorldRotation(
Nullable<Quaternion> _rotation,
GameLiftManagerOpFunctionCallback^ callback = nullptr
)
member SendAndIncrementWorldRotation :
_rotation : Nullable<Quaternion> *
?callback : GameLiftManagerOpFunctionCallback
(* Defaults:
let _callback = defaultArg callback null
*)
-> unit
Parameters
- _rotation
- Type: SystemNullableQuaternion
The value that will be added to world rotation of this object. - callback (Optional)
- Type: ASLGameLiftManagerOpFunctionCallback
The optional callback function for OpFunction
Examples void SomeFunction()
{
gameobject.GetComponent<ASL.ASLObject>().SendAndSetClaim(() =>
{
gameobject.GetComponent<ASL.ASLObject>().SendAndIncrementWorldRotation(new Quaternion(0, 80, 60, 1));
});
}
See Also