public static void StopMove(GameObject target) { MovementControl mgr = target.GetComponent <MovementControl>(); if (mgr == null) { LogicSystem.GfxLog("StartMove movement control miss!"); return; } mgr.StopMove(); }