public Timeline(PHOTOSTUDIO_WORK_TYPE type, PhotoStudioEmojiItem item) { this.m_type = type; this.m_item = item; this.m_position = item.transform.localPosition; this.m_rotate = item.GetIcon.transform.localRotation; this.m_spriteName = item.GetIcon.spriteName; this.m_spriteSize = Mathf.Max(item.GetIcon.width, item.GetIcon.height); this.m_depth = item.GetIcon.depth; }
public Timeline(Timeline item) { this.m_type = item.m_type; this.m_item = item.m_item; this.m_position = item.m_position; this.m_rotate = item.m_rotate; this.m_spriteName = item.m_spriteName; this.m_spriteSize = item.m_spriteSize; this.m_depth = item.m_depth; this.m_filter = item.m_filter; }
public Timeline(PHOTOSTUDIO_WORK_TYPE type, PhotoStudioEmojiItem item, Vector3 position, Quaternion rotate, string spriteName, int spriteSize, int depth, ImageFilterInfo filter) { this.m_type = type; this.m_item = item; this.m_position = position; this.m_rotate = rotate; this.m_spriteName = spriteName; this.m_spriteSize = spriteSize; this.m_depth = depth; this.m_filter = filter; }
public Timeline(PHOTOSTUDIO_WORK_TYPE type, ImageFilterInfo filter) { this.m_type = type; this.m_filter = filter; }