public void Click(IUser user, Vector3 clickPoint) { var app = App; if (app == null) { return; } _clickAction.StartAction(user, new ButtonData() { targetedPoints = new PointData[1] { PointData.CreateFromUnityVector3(clickPoint, Behavior.Actor.GameObject.transform, App.SceneRoot.transform) } }); }
public void Click(IUser user, Vector3 clickPoint) { var app = App; if (app == null) { return; } _clickAction.StartAction(user, new ButtonData() { targetedPoints = new PointData[1] { PointData.CreateFromGodotVector3(clickPoint, Behavior.Actor.Node3D as Spatial, app.SceneRoot) } }); }
public void StartButton(IUser user, Vector3 buttonStartPoint) { var app = App; if (app == null) { return; } _buttonAction.StartAction(user, new ButtonData() { targetedPoints = new PointData[1] { PointData.CreateFromGodotVector3(buttonStartPoint, Behavior.Actor.Node3D as Spatial, app.SceneRoot) } }); IsPressed = true; }
public void StartButton(IUser user, Vector3 buttonStartPoint) { var app = App; if (app == null) { return; } _buttonAction.StartAction(user, new ButtonData() { targetedPoints = new PointData[1] { PointData.CreateFromUnityVector3(buttonStartPoint, Behavior.Actor.GameObject.transform, App.SceneRoot.transform) } }); IsPressed = true; }
public void StartUsing(IUser user) { IsUsing = true; _using.StartAction(user); }
public void StartHolding(IUser user) { _holding.StartAction(user); }