|  | ASLObjectSendAndSetLocalRotation Method | 
Namespace: ASL
 Syntax
Syntaxpublic void SendAndSetLocalRotation( Quaternion? _localRotation, GameLiftManagerOpFunctionCallback callback = null )
 Examples
Examplesvoid SomeFunction() { //Claim the object first gameobject.GetComponent<ASL.ASLObject>().SendAndSetClaim(() => { //Send and then set (=) the local rotation. Note that the object does not to this rotation until //it receives the packet from the server, even though it is the caller of this function. gameobject.GetComponent<ASL.ASLObject>().SendAndSetLocalRotation(new Quaternion(0, 80, 60, 1)); }); }
 See Also
See Also