public static void ForceWarpToLocation(GameObject toWarp, string destination) { try { WarpBehavior warpingTo = GetWarpingLocation(destination); warpingTo.Warp(toWarp, destination); } catch (WarpingLocationException warpError) { Debug.Log(warpError.Message); } }
public static bool IsWarpingTarget(WarpBehavior warpBehavior, string targ) { return(targ.Equals(warpBehavior.warpTag)); }