+ if(this != &other)
+ {
+ SetActor(other.mActor);
+ mActorDisconnected = other.mActorDisconnected;
+ mRemoveCallback = other.mRemoveCallback;
+ other.ResetActor();
+ other.mRemoveCallback = nullptr;
+ }
+ return *this;
+}
+
+Actor* ActorObserver::GetActor() const
+{
+ return mActorDisconnected ? nullptr : mActor;
+}