1
This commit is contained in:
18
unity/Assets/Script/Tools/Pollsysytem/PollObject.cs
Normal file
18
unity/Assets/Script/Tools/Pollsysytem/PollObject.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class PollObject
|
||||
{
|
||||
//对象
|
||||
public Object Object;
|
||||
//对象名
|
||||
public string Name;
|
||||
//最后一次的使用时间,记录销毁
|
||||
public System.DateTime lastUserTime;
|
||||
|
||||
public PollObject(string name, Object obj)
|
||||
{
|
||||
Name = name;
|
||||
Object = obj;
|
||||
lastUserTime = System.DateTime.Now;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user