public static GKToyMakerChapterInfo Create(IModal owner, Vector2 pos, float width, float height, string title, GKToyBaseOverlord overlord, GameObject obj) { instance = CreateInstance <GKToyMakerChapterInfo>(); instance._owner = owner; instance._title = title; instance.overlord = overlord; instance.obj = obj; Rect rect = new Rect(pos.x, pos.y, 0, 0); instance.position = rect; instance.ShowAsDropDown(rect, new Vector2(width, height + MARGIN)); return(instance); }