-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUnityEventData.cs
47 lines (38 loc) · 1.01 KB
/
UnityEventData.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
using System.Collections.Generic;
using UnityEditor;
using UnityEngine.Events;
namespace AltSalt.Maestro
{
public class UnityEventData
{
private int _instanceID;
private int instanceID
{
set => _instanceID = value;
}
private string _targetName;
public string targetName
{
get => _targetName;
private set => _targetName = value;
}
private string _methodName;
public string methodName
{
get => _methodName;
private set => _methodName = value;
}
private UnityEventParameter _parameter;
public UnityEventParameter parameter
{
get => _parameter;
set => _parameter = value;
}
public UnityEventData(int instanceID, string targetName, string methodName)
{
this.instanceID = instanceID;
this.targetName = targetName;
this.methodName = methodName;
}
}
}