| ASLObjectSendAndIncrementLocalRotation Method |
Sends and adds to the local rotation of this object for all users
Namespace:
ASL
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public void SendAndIncrementLocalRotation(
Quaternion? _localRotation,
GameLiftManagerOpFunctionCallback callback = null
)
Public Sub SendAndIncrementLocalRotation (
_localRotation As Quaternion?,
Optional callback As GameLiftManagerOpFunctionCallback = Nothing
)
public:
void SendAndIncrementLocalRotation(
Nullable<Quaternion> _localRotation,
GameLiftManagerOpFunctionCallback^ callback = nullptr
)
member SendAndIncrementLocalRotation :
_localRotation : Nullable<Quaternion> *
?callback : GameLiftManagerOpFunctionCallback
(* Defaults:
let _callback = defaultArg callback null
*)
-> unit
Parameters
- _localRotation
- Type: SystemNullableQuaternion
The value that will be added to 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>().SendAndIncrementLocalRotation(new Quaternion(0, 80, 60, 1));
});
}
See Also