Modernize GhostComponent & Ghost API (#36858)
* Move CanReturnToBody to system * Move CanGhostInteract to system * Cleanup redundant datafields and viewvariables * Document datafields * Document component * Add SetTimeOfDeath Entity<T> overload, obsolete old version * Document public methods * Cleanup obsoleted method calls
This commit is contained in:
@@ -117,6 +117,6 @@ public sealed class AGhostCommand : LocalizedCommands
|
||||
}
|
||||
|
||||
var comp = _entities.GetComponent<GhostComponent>(ghost);
|
||||
ghostSystem.SetCanReturnToBody(comp, canReturn);
|
||||
ghostSystem.SetCanReturnToBody((ghost, comp), canReturn);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user