public void Warp(IWarpable agent) { // agent.IWarpable = agent as IWarpable; agent.WarpTo(destination.position); }
public void Trigger <T>(T param) { IWarpable agent = param as IWarpable; agent?.WarpTo(destination); }