void ResetMapChengeEnable() { mapChengeStartTime = Time.fixedTime; nextMapChengeLength = GetNextMapChengeTime(); mapChengeEnable = false; nextLoadObject = null; }
/// <summary> /// マップ遷移する場所を返す /// </summary> public Vector2 GetNextLoadPosition() { if (nextLoadObject == null) { nextLoadObject = nowMapParent.GetRandomLoadObject(); } return(nextLoadObject.transform.position); }