| ASLObjectDeleteObject Method |
Deletes this object for all users
Namespace:
ASL
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public void DeleteObject(
GameLiftManagerOpFunctionCallback callback = null
)
Public Sub DeleteObject (
Optional callback As GameLiftManagerOpFunctionCallback = Nothing
)
public:
void DeleteObject(
GameLiftManagerOpFunctionCallback^ callback = nullptr
)
member DeleteObject :
?callback : GameLiftManagerOpFunctionCallback
(* Defaults:
let _callback = defaultArg callback null
*)
-> unit
Parameters
- callback (Optional)
- Type: ASLGameLiftManagerOpFunctionCallback
The optional callback function for OpFunction
Examples void SomeFunction()
{
gameobject.GetComponent<ASL.ASLObject>().SendAndSetClaim(() =>
{
gameobject.GetComponent<ASL.ASLObject>().DeleteObject();
});
}
See Also