【发布时间】:2014-07-10 14:33:43
【问题描述】:
在场景中查找包含脚本的所有游戏对象时遇到问题,这些脚本派生自抽象类。
情况如下:
public abstract class IAbstractInterface: MonoBehaviour
{
}
public class Item_I_Need_To_Find1 : IAbstractInterface
{
}
public class Item_I_Need_To_Find2 : IAbstractInterface
{
}
....
如何找到场景中包含Item_I_Need_To_Find(%number%) 脚本的所有游戏对象?
非常感谢任何帮助。
提前致谢。
【问题讨论】: