virtual public void RegToOwner() { if (IsRegToOwner) { return; } if (Owner != null) { Owner.AddNoSetOwner(this); } IsRegToOwner = true; }
virtual public void RegToOwner() { if (Owner == null || IsRegToOwner) return; Owner.AddNoSetOwner(this); IsRegToOwner = true; }