示例#1
0
 public void Warp(IWarpable agent)
 {
     // agent.IWarpable = agent as IWarpable;
     agent.WarpTo(destination.position);
 }
示例#2
0
    public void Trigger <T>(T param)
    {
        IWarpable agent = param as IWarpable;

        agent?.WarpTo(destination);
    }