public void UnlockZoom(TrashObject trashItem) { if (lockingID == trashItem.GetInstanceID()) { lockingID = NONE; lockZoomTarget = null; } FocusOnPlayer(); }
public void SetCameraTargetZoom(float n, TrashObject requestor) { if (lockingID != NONE) { if (lockingID != requestor.GetInstanceID()) { return; } } targetZoom = n; }
public void LockZoom(TrashObject trashItem) { lockingID = trashItem.GetInstanceID(); lockZoomTarget = trashItem.CachedTransform; }