first commit
This commit is contained in:
25
scripts/utils/GodotPollutedObject.cs
Normal file
25
scripts/utils/GodotPollutedObject.cs
Normal file
@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BallanceStalker {
|
||||
public class GodotPollutedObject : Godot.Object {
|
||||
|
||||
public GodotPollutedObject() {
|
||||
Data = null;
|
||||
}
|
||||
|
||||
public GodotPollutedObject(object deliver) {
|
||||
Data = deliver;
|
||||
}
|
||||
|
||||
private object Data;
|
||||
|
||||
public T GetData<T>() where T : class {
|
||||
return Data as T;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user