Deprecation warnings for old input nodes

This commit is contained in:
Moritz Brückner 2020-09-09 22:05:23 +02:00
parent 5c1b55d221
commit af60d2000d
5 changed files with 5 additions and 0 deletions

View file

@ -5,6 +5,7 @@ class OnGamepadNode extends LogicNode {
public var property0: String;
public var property1: String;
@:deprecated("The 'On Gamepad' node is deprecated and will be removed in future SDK versions. Please use 'Gamepad' instead.")
public function new(tree: LogicTree) {
super(tree);

View file

@ -5,6 +5,7 @@ class OnKeyboardNode extends LogicNode {
public var property0: String;
public var property1: String;
@:deprecated("The 'On Keyboard' node is deprecated and will be removed in future SDK versions. Please use 'Keyboard' instead.")
public function new(tree: LogicTree) {
super(tree);

View file

@ -5,6 +5,7 @@ class OnMouseNode extends LogicNode {
public var property0: String;
public var property1: String;
@:deprecated("The 'On Mouse' node is deprecated and will be removed in future SDK versions. Please use 'Mouse' instead.")
public function new(tree: LogicTree) {
super(tree);

View file

@ -4,6 +4,7 @@ class OnSurfaceNode extends LogicNode {
public var property0: String;
@:deprecated("The 'On Surface' node is deprecated and will be removed in future SDK versions. Please use 'Surface' instead.")
public function new(tree: LogicTree) {
super(tree);

View file

@ -5,6 +5,7 @@ class OnVirtualButtonNode extends LogicNode {
public var property0: String;
public var property1: String;
@:deprecated("The 'On Virtual Button' node is deprecated and will be removed in future SDK versions. Please use 'Virtual Button' instead.")
public function new(tree: LogicTree) {
super(tree);