SamplyGame.SmallPlate.Launch C# (CSharp) Method

Launch() private method

private Launch ( Urho.Node bulletNode ) : void
bulletNode Urho.Node
return void
		async void Launch(Node bulletNode)
		{
			await bulletNode.RunActionsAsync(
				new MoveTo(3f, new Vector3(RandomHelper.NextRandom(-6f, 6f), -6, 0)),
				new CallFunc(() => bulletNode.SetScale(0f)));

			//remove the bullet from the scene.
			bulletNode.Remove();
		}
	}