private void StoreTouchPos(GameObject obj, SkillInstance instance) { UnityEngine.Vector3 touchpos = TriggerUtil.GetTouchPos(obj); UnityEngine.Vector3 scene_pos = CalcScenePos(obj, touchpos); SharedGameObjectInfo obj_info = LogicSystem.GetSharedGameObjectInfo(obj); if (obj_info != null) { obj_info.LastTouchX = scene_pos.x; obj_info.LastTouchY = scene_pos.y; obj_info.LastTouchZ = scene_pos.z; } }