protected WindowObject(WindowObject parent, Transform transform = null) { m_parent = parent; m_transform = transform == null ? new Transform() : transform; if (parent != null) { m_transform.Parent = parent.Transform; } m_flags = WindowObjectFlags.Default; }
public virtual void Remove() { m_flags |= WindowObjectFlags.Removing; }
public virtual void Reset() { m_flags = WindowObjectFlags.Default; Animator.RemoveAnimation(this); }