| ASLObjectSendAndIncrementLocalPosition Method |
Sends and adds to the local transform of this object for all users
Namespace:
ASL
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public void SendAndIncrementLocalPosition(
Vector3? _localPosition,
GameLiftManagerOpFunctionCallback callback = null
)
Public Sub SendAndIncrementLocalPosition (
_localPosition As Vector3?,
Optional callback As GameLiftManagerOpFunctionCallback = Nothing
)
public:
void SendAndIncrementLocalPosition(
Nullable<Vector3> _localPosition,
GameLiftManagerOpFunctionCallback^ callback = nullptr
)
member SendAndIncrementLocalPosition :
_localPosition : Nullable<Vector3> *
?callback : GameLiftManagerOpFunctionCallback
(* Defaults:
let _callback = defaultArg callback null
*)
-> unit
Parameters
- _localPosition
- Type: SystemNullableVector3
The value to be added to the local position 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>().SendAndIncrementLocalPosition(new Vector3(1, 2, 5));
});
}
See Also