inicial
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
namespace UnityEngine.Timeline
|
||||
{
|
||||
static class SelectionExtensions
|
||||
{
|
||||
public static ObjectId GetObjectId(this Object obj)
|
||||
{
|
||||
#if UNITY_6000_3_OR_NEWER
|
||||
return obj.GetEntityId();
|
||||
#else
|
||||
return obj.GetInstanceID();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user